|
Torben Barsballe created an issue |
Catalog security does not prevent styles from being edited via REST |
Issue Type: |
|
---|---|
Assignee: |
Unassigned |
Components: |
REST, Security, styling |
Created: |
28/Jun/18 8:52 PM |
Priority: |
|
Reporter: |
The order of options involved in saving a style (via rest) can cause issues under certain auth patterns. Example: -Have 2 workspaces, Steps to reproduce:
Result:
The problem can be seen here: The contents of the style resource get changed before the style gets saved to the catalog. Since the Resource store doesn’t have any security, this just happens. Then the StyleInfo is saved to the catalog, and there is failure due to security. However, the change has already been made to the resource, and doesn’t get reverted. There seem to be a few options for fixing this. The simple solution would just be to attempt a save of the unmodified style immediately after receiving the request. |
Get Jira notifications on your phone! Download the Jira Cloud app for Android or iOS |
|
This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100088-sha1:3ea5ad1) |
|