Skip to content

Commit

Permalink
chore: up deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Arun-KumarH committed Feb 18, 2024
1 parent 2c4a21f commit 5b7aaa2
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 114 deletions.
4 changes: 0 additions & 4 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,5 @@ module.exports = {
project: [
'tsconfig.json',
],
},
rules: {
'@typescript-eslint/consistent-type-imports': 0,
'@typescript-eslint/consistent-type-exports': 0
}
};
32 changes: 16 additions & 16 deletions docs/modules/ROOT/pages/abac.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ as demanding such evaluation would require a replication of this functionality a
# To identify role scoping entity
- id ex: urn:restorecommerce:acs:names:roleScopingEntity
- value ex: urn:restorecommerce:model:organization.Organization
- value ex: urn:restorecommerce:acs:model:organization.Organization
# To identify role scoping instance
- id ex: urn:restorecommerce:acs:names:roleScopeInstance
value: ex: <organization identifier>
- resources
# To identify a domain model type
- id ex: maskedProperty
- value ex: urn:restorecommerce:model:user.User
- value ex: urn:restorecommerce:acs:model:user.User
# To identify a single resource by its ID
- id ex: urn:oasis:names:tc:xacml:1.0:resource:resource-id
Expand Down Expand Up @@ -191,7 +191,7 @@ request:
- id: ex: urn:oasis:names:tc:xacml:1.0:subject:subject-id
value: Alice
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
- id: urn:restorecommerce:acs:names:roleScopeInstance
value: OrgB
resources:
Expand All @@ -210,7 +210,7 @@ request:
- role: admin
attributes: # a list of attributes associated with the role
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:roleScopeInstance
value: OrgA
Expand All @@ -228,12 +228,12 @@ request:
modified_by: RandomUser
owners:
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: OrgB
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:model:user.User
value: urn:restorecommerce:acs:model:user.User
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: RandomUser
Expand Down Expand Up @@ -265,7 +265,7 @@ policy_sets:
- id: urn:restorecommerce:acs:names:role
value: admin
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
- id: urn:restorecommerce:acs:names:hierarchicalRoleScoping
value: 'true'
effect: PERMIT
Expand Down Expand Up @@ -293,7 +293,7 @@ request:
- id: ex: urn:oasis:names:tc:xacml:1.0:subject:subject-id
value: Alice
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
- id: urn:restorecommerce:acs:names:roleScopeInstance
value: OrgA
resources:
Expand All @@ -318,7 +318,7 @@ request:
- role: admin
attributes: # a list of attributes associated with the role
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:roleScopeInstance
value: OrgA
Expand Down Expand Up @@ -358,7 +358,7 @@ policy_sets:
- id: urn:restorecommerce:acs:names:role
value: admin
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
effect: PERMIT
- name: Country Policy
description: A policy which contains country-related rules
Expand All @@ -379,7 +379,7 @@ policy_sets:
- id: urn:restorecommerce:acs:names:role
value: admin
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
effect: PERMIT
----

Expand All @@ -395,7 +395,7 @@ request:
- id: ex: urn:oasis:names:tc:xacml:1.0:subject:subject-id
value: Alice
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
- id: urn:restorecommerce:acs:names:roleScopeInstance
value: OrgA
resources:
Expand All @@ -412,7 +412,7 @@ request:
- role: admin
attributes: # a list of attributes associated with the role
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:roleScopeInstance
value: OrgA
Expand All @@ -428,12 +428,12 @@ request:
modified_by: RandomUser
owners:
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: OrgA
- id: urn:restorecommerce:acs:names:ownerIndicatoryEntity
value: urn:restorecommerce:model:user.User
value: urn:restorecommerce:acs:model:user.User
attributes:
- id: urn:restorecommerce:acs:names:ownerInstance
value: RandomUser
Expand All @@ -456,7 +456,7 @@ rules:
- id: urn:restorecommerce:acs:names:role
value: admin
- id: urn:restorecommerce:acs:names:roleScopingEntity
value: urn:restorecommerce:model:organization.Organization
value: urn:restorecommerce:acs:model:organization.Organization
effect: PERMIT
----

Expand Down
Loading

0 comments on commit 5b7aaa2

Please sign in to comment.