Skip to content

Commit 5964b83

Browse files
committed
[cookbook][acl] Adding missing mask and clarifying why owner is special - closes symfony#811
1 parent f5ec9c1 commit 5964b83

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

‎cookbook/security/acl_advanced.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,12 @@ Built-in Permission Map
102102
+------------------+----------------------------+-----------------------------+
103103
| Attribute | Intended Meaning | Integer Bitmasks |
104104
+==================+============================+=============================+
105-
| VIEW | Whether someone is allowed | VIEW, EDIT, OPERATOR, |
106-
| | to view the domain object. | MASTER, or OWNER |
105+
| VIEW | Whether someone is allowed | VIEW, CREATE, EDIT, |
106+
| | to view the domain object. | OPERATOR, MASTER, or OWNER |
107+
+------------------+----------------------------+-----------------------------+
108+
| CREATE | Whether someone is allowed | EDIT, OPERATOR, MASTER, |
109+
| | to create the domain | or OWNER |
110+
| | object. | |
107111
+------------------+----------------------------+-----------------------------+
108112
| EDIT | Whether someone is allowed | EDIT, OPERATOR, MASTER, |
109113
| | to make changes to the | or OWNER |
@@ -131,7 +135,8 @@ Built-in Permission Map
131135
| OWNER | Whether someone owns the | OWNER |
132136
| | domain object. An owner can| |
133137
| | perform any of the above | |
134-
| | actions. | |
138+
| | actions *and* grant master | |
139+
| | and owner permissions. | |
135140
+------------------+----------------------------+-----------------------------+
136141

137142
Permission Attributes vs. Permission Bitmasks

0 commit comments

Comments
 (0)