Skip to content

Commit

Permalink
better docs for role management
Browse files Browse the repository at this point in the history
  • Loading branch information
gggeek committed Nov 25, 2016
1 parent d2b2456 commit 592b661
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Resources/doc/DSL/ManageRolesAndPolicies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,51 +5,51 @@
#
# ContentType limitation example:
# identifier: Class
# value: [1, 2, 3] # List of content type ids. Can be specified using identifier as well
# values: [1, 2, 3] # List of content type ids. Can be specified using identifier as well
#
# Language limitation example:
# identifier: Language
# value: [eng-GB, eng-US] # List of valid language codes
# values: [eng-GB, eng-US] # List of valid language codes
#
# Location limitation example"
# identifier: Node
# value: [2, 345] # List of location ids. Can be specified using remote id as well
# values: [2, 345] # List of location ids. Can be specified using remote id as well
#
# Owner limitation
# identifier: Owner
# value: [x] # must be either 1 (owner) or 2 (session)
# values: [x] # must be either 1 (owner) or 2 (session)
#
# ParentContentType limitation example:
# identifier: ParentClass
# value: [1, 2, 3] # List of content type ids. Can be specified using identifier as well
# values: [1, 2, 3] # List of content type ids. Can be specified using identifier as well
#
# ParentDepth limitation example:
# identifier: ParentDepth
# value: [x]
# values: [x]
#
# ParentOwner limitation example:
# identifier: ParentOwner
# value: [x] # either 1 (owner) or 2 (session)
# values: [x] # either 1 (owner) or 2 (session)
#
# ParentUserGroup limitation example:
# identifier: ParentGroup
# value: [1] # must be 1 (owner)
# values: [1] # must be 1 (owner)
#
# Section limitation example:
# identifier: Section
# value: [1, 2, 3] # List of section ids. Can be specified using identifier as well
# values: [1, 2, 3] # List of section ids. Can be specified using identifier as well
#
# Siteaccess limitation example: (Not implemented yet in eZ Publish 5 API)
# identifier: SiteAccess
# value: [siteaccess, siteaccess] # List of siteaccess name strings
# values: [siteaccess, siteaccess] # List of siteaccess name strings
#
# Subtree limitation example:
# identifier: Subtree
# value: [/1/2/3/4, /1/2/3/15] # List of subtree path strings, needs to be the location path
# values: [/1/2/3/4, /1/2/3/15] # List of subtree path strings, needs to be the location path
#
# UserGroup limitation example:
# identifier: UserGroup
# value: [1] # must be 1 (owner)
# values: [1] # must be 1 (owner)
-
type: role
mode: create
Expand Down Expand Up @@ -90,8 +90,8 @@
type: role
mode: update
match: # Only one of the following can be specified, to define which roles to update
- id: x # int|int[]
- identifier: xyz # string|string[]
id: x # int|int[]
identifier: xyz # string|string[]
assign: # Optional
-
type: # Must be user or group
Expand Down

0 comments on commit 592b661

Please sign in to comment.