-
-
Notifications
You must be signed in to change notification settings - Fork 959
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(files): Source file upload: allow replacing source file with app…
…ropriate unit permissions (#11513) In addition to previous permission `component.edit`, now also allow the `replace` upload method on source file upload, if the `unit.add`, `unit.delete` and `unit.edit` permissions are present. This allows to give users access to replacing the source file, without having to give them full `component.edit` permissions. Co-authored-by: Michal Čihař <michal@cihar.com>
- Loading branch information
Showing
2 changed files
with
5 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters