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
{{ message }}
Repository navigation
Commit 3e3a3ce
Browse filesBrowse the repository at this point in the historyBrowse files
fix(permissions): reject malformed doap and ap create/update request (DSP-1328) (#1890)
* fix (premissions): don't allow malformed hasPermissions for updating DOAP
* docs(permissions): start adding some info about content of hasPermissions
* fix (permissions): reject malformed hasPermissions, correct the faulty values + tests
* clean up
-`additionalInformation`: should be left empty, otherwise will be ignored.
105
+
-`permissionCode`: should be left empty, otherwise will be ignored.
106
+
107
+
82
108
Note that during the creation of a new project, a default set of administrative permissions are added to its ProjectAdmin and
83
109
ProjectMember groups (See [Default set of permissions for a new project](./projects.md#default-set-of-permissions-for-a-new-project)).
84
110
Therefore, it is not possible to create new administrative permissions for the ProjectAdmin and ProjectMember groups of
85
111
a project. However, the default permissions set for these groups can be modified (See [update permission](./permissions.md#updating-a-permissions-scope)).
86
112
113
+
114
+
### Creating New Default Object Access Permissions:
115
+
87
116
-`POST: /admin/permissions/doap` : create a new default object access permission.
88
117
A single instance of `knora-admin:DefaultObjectAccessPermission` must
89
118
always reference a project, but can only reference **either** a group
@@ -101,6 +130,25 @@ default object access permission for a group of a project the request body would
Copy file name to clipboardExpand all lines: webapi/src/main/scala/org/knora/webapi/messages/admin/responder/permissionsmessages/PermissionsMessagesADM.scala
Copy file name to clipboardExpand all lines: webapi/src/main/scala/org/knora/webapi/messages/admin/responder/permissionsmessages/PermissionsMessagesUtilADM.scala
0 commit comments