Created
September 29, 2016 19:15
-
-
Save wizhippo/18360b6298b42aaf5a33ae61b0924ac7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- | |
type: content | |
mode: create | |
content_type: folder | |
main_location: 2 | |
priority: 0 | |
attributes: | |
- name: Sites | |
references: | |
- | |
identifier: sites_folder_locationid | |
attribute: location_id | |
- | |
type: role | |
mode: create | |
name: Site Owner | |
policies: | |
- | |
module: content | |
function: read | |
limitations: | |
- | |
identifier: Node | |
values: [1, 2, "reference:sites_folder_locationid"] | |
- | |
module: content | |
function: read | |
limitations: | |
- | |
identifier: Subtree | |
values: [/1/43/, /1/5/] # media and users | |
- | |
module: content | |
function: read | |
limitations: | |
- | |
identifier: Owner # view own items in trash | |
values: [1] | |
- | |
type: user_group | |
mode: create | |
parent_group_id: 4 | |
name: Site Owners | |
description: Site Owners | |
roles: ["Site Owner"] | |
references: | |
- | |
identifier: site_owners_group_id | |
attribute: id | |
- | |
type: user | |
mode: create | |
first_name: test | |
last_name: editor | |
username: site1 | |
email: [email protected] | |
password: password | |
groups: ["reference:site_owners_group_id"] | |
references: | |
- | |
identifier: site1_user_id | |
attribute: user_id | |
- | |
type: content | |
mode: create | |
content_type: folder | |
main_location: "reference:sites_folder_locationid" | |
priority: 0 | |
attributes: | |
- name: Site 1 | |
references: | |
- | |
identifier: site1_folder_path | |
attribute: path | |
- | |
type: role | |
mode: update | |
name: Editor | |
assign: | |
- | |
type: user | |
ids: ["reference:site1_user_id"] | |
limitations: | |
- | |
identifier: Subtree | |
values: ["reference:site1_folder_path"] | |
- | |
type: user | |
mode: create | |
first_name: test | |
last_name: editor | |
username: site2 | |
email: [email protected] | |
password: password | |
groups: ["reference:site_owners_group_id"] | |
references: | |
- | |
identifier: site2_user_id | |
attribute: user_id | |
- | |
type: content | |
mode: create | |
content_type: folder | |
main_location: "reference:sites_folder_locationid" | |
priority: 0 | |
attributes: | |
- name: Site 2 | |
references: | |
- | |
identifier: site2_folder_path | |
attribute: path | |
- | |
type: role | |
mode: update | |
name: Editor | |
assign: | |
- | |
type: user | |
ids: ["reference:site2_user_id"] | |
limitations: | |
- | |
identifier: Subtree | |
values: ["reference:site2_folder_path"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment