apply visible scope to custom field api

This commit is contained in:
ulferts
2026-02-24 14:19:34 +01:00
parent 77e9cc3255
commit 10f5aa8b5b
8 changed files with 42 additions and 16 deletions
+4 -1
View File
@@ -36,7 +36,10 @@ get:
errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
message: You are not authorized to access this resource.
'404':
description: Returned if the custom field item does not exist or the user is not logged in.
description: |-
Returned if the custom field item does not exist or the user lacks permission to see it.
The permission required to view the item depends on the custom field it belongs to.
content:
application/hal+json:
schema:
@@ -38,7 +38,7 @@ get:
errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
message: You are not authorized to access this resource.
'404':
description: Returned if the custom field does not exist.
description: Returned if the custom field does not exist or the user lacks permission to view it.
content:
application/hal+json:
schema:
+1 -1
View File
@@ -62,7 +62,7 @@ get:
errorIdentifier: urn:openproject-org:api:v3:errors:MissingPermission
message: You are not authorized to access this resource.
'404':
description: Returned if the custom field does not exist.
description: Returned if the custom field does not exist or the user lacks the permission to view it.
content:
application/hal+json:
schema: