-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
1
-
False
-
-
False
-
Release Note Not Required
-
Release Note Not Required
-
-
-
RHDH Plugins 3260
Description of problem:
When adding a new plugin to be captured by the RBAC Backend and Frontend plugin, if there is no permissions attached to said plugin, we do not notify them with a not found error. This can make it difficult to troubleshoot if there is an issue with your plugin's permissions or with the way that they are being loaded in.
You can see where we are returning undefined in the event that there is a not found error here.
Prerequisites (if any, like setup, operators/versions):
Steps to Reproduce
- Create a simple plugin with no permissions
- Enable the RBAC Frontend and Backend plugins
- Add the following to your app config
permission: enabled: true rbac: pluginsWithPermission: - <plugin_id> admin: users: - name: user:default/<user-name>
Actual results:
No information is logged if the permissions for a particular plugin could not be found
Expected results:
We should log that permissions were not found for a particular plugin