Skip to content

Conversation

@DmitryLitvintsev
Copy link
Member

Motivation:

WebDAV returns 500 on unauthorized attempt to rename resource, like so:

Internal problem: CacheException(rc=10018;msg=Restriction Restrict[MANAGE,UPLOAD,DELETE,UPDATE_METADATA,STAGE] denied activity MANAGE on ...)

Modification:

Handle CacheException in dCacheResource.moveTo method

Result:

Return 403 on unauthorized attempt to rename resource, like so:

Ticket: #7879
Target: trunk
Request: 11.1, 11.0, 10.2

Acked-by: Tigran
Require-book: no
Require-notes: yes

Motivation:
-----------

WebDAV returns 500 on unauthorized attempt to rename
resource, like so:

Internal problem: CacheException(rc=10018;msg=Restriction Restrict[MANAGE,UPLOAD,DELETE,UPDATE_METADATA,STAGE] denied activity MANAGE on ...)

Modification:
------------

Handle CacheException in dCacheResource.moveTo method

Result:
-------

Return 403 on unauthorized attempt to rename resource, like so:

Ticket: #7879
Target: trunk
Request: 11.1, 11.0, 10.2

Acked-by: Tigran
Require-book: no
Require-notes: yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants