-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Tagging] Use object permissions in frontend #160
Comments
It would really be ideal if the
|
"As a content author, I want the UI to show me when I can add/update/delete a taxonomy or tag and when I cannot, rather than waiting for a backend error, so that I can easily manage my taxonomies and tags."
Acceptance Criteria
Update the taxonomy, tag, and object tag REST APIs to return a consistent
user_permissions
record with each object returned by the API, e.g.Update the frontend-app-course-authoring UI to use these
user_permissions
to determine whether to show/enable the "Import", "Re-import" and "Delete" menu actions for a given taxonomy.(if done after [Tagging] Rename and delete an individual tag #131 / [Tagging] Add tags to a taxonomy #132) Update the frontend-app-course-authoring UI to use these
user_permissions
to determine whether to show/enable the "Add", "Rename" and "Delete" menu actions for a given tag.Developer notes
oel_tagging.add_taxonomy
permission. So in this case, go ahead and show the "Import" button and allow the user to try the import, and let the backend enforce the rule.The text was updated successfully, but these errors were encountered: