User tests: Successful: Unsuccessful:
Pull Request for Issue #36549.
Passes the global permissions from the media manager to the client app. The item can define a flag as well to specify if the item itself can be edited/deleted. This allows external adapters to define also per item permissions.
This pr is based on the pr from @dgrammatiko and #36556.
Actions are always shown.
Actions are only shown when the permissions are correct.
Status | New | ⇒ | Pending |
Category | ⇒ | JavaScript Administration com_media NPM Change |
Labels |
Added:
NPM Resource Changed
?
|
Did you do npm ci
? As this is something which is handled in the actionItemsContainer.vue
file.
Tested with the prebuilt package so no need to npm ci.
Was a copy paste error, can you test again?
I have tested this item
Don't know if this is beyond the scope or not. But when you have edit permission but there are no media plugins enabled the pencil icon is still displayed
Don't know if this is beyond the scope or not. But when you have edit permission but there are no media plugins enabled the pencil icon is still displayed
I would handle this is in it's own pr.
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Done
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-02-13 15:35:21 |
Closed_By | ⇒ | roland-d | |
Labels |
Added:
?
|
Thanks everybody.
Delete permission is denied.
No delete button, however, there is a delete item action.