You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Removes all provided permissions from the content item's permissions.
155
+
Removes all provided permissions from the content item's permissions. If a permission isn't
156
+
found, it is silently ignored.
156
157
157
158
Parameters
158
159
----------
159
160
*permissions : str | Group | User | Permission
160
161
The content item permissions to remove. If a `str` is received, it is compared against
161
-
the Permissions' `principal_guid`. If a `Group`, `User`, or `Permission` is received,
162
-
the `guid` is used and compared against the Permissions' `principal_guid`. If a
163
-
`Permission` is received, the `principal_guid` is used. Note, only the associated permissions will be destroyed; Any users or groups provided will remain.
162
+
the `Permissions`' `principal_guid`. If a `Group` or `User` is received, the associated
163
+
`Permission` will be removed.
164
164
165
165
Returns
166
166
-------
167
167
list[Permission]
168
-
The deleted permissions.
168
+
The removed permissions. If a permission is not found, it is not included in the
0 commit comments