-
Notifications
You must be signed in to change notification settings - Fork 153
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
🔌 Plugin: Not able to show custom plugin to in admin page drop down #1522
Comments
@ravimandalasapient thanks for reporting the issue, i have below initial observations
|
@invincibleJai Rbac plugin version is latest one.i.e 1.17.5. Indentation correct only.May be copy paste problem. permission:
|
it's difficult to test/reproduce with plugin that we don't have access to. is it working for other community plugins i.e kubernetes , jenkins etc ? https://github.com/janus-idp/backstage-plugins/blob/main/plugins/rbac/README.md#installation |
@invincibleJai it is not working for any plugin(Kubernetes, Jenkins as well). I created simple plugin and tried. |
@ravimandalasapient i'll try to create a new plugin and test @PatAKnight / @AndrienkoAleksandr do you see any obvious missing piece here ^^ |
I am not seeing any immediate issues, but I will also take a look. |
@ravimandalasapient i did create a new plugin Can check the code here https://github.com/invincibleJai/todo-app-rbac
Even kubernetes plugin works i needed to enable the plugin and update the config Hope this could be helpful for you to figure out what wrong with your config or plugin. |
@invincibleJai thanks a lot! I will look at my config once. |
RBAC only acts as an interface to enable the permission rules defined by the plugin on its own no UI will change unless the plugin handles it to see more about how plugins handle read here https://backstage.io/docs/permissions/frontend-integration
Backstage can ingest user and group data directly from GitHub, GitHub Enterprise, GitLab, or an LDAP compatible service. The data is then transformed into Backstage entities and persists to the software catalog can refer to backstage docs for more info on this
can refer https://github.com/janus-idp/backstage-plugins/blob/main/plugins/rbac-backend/README.md#configuring-database-storage-for-policies and https://backstage.io/docs/tutorials/configuring-plugin-databases/ |
Thanks @invincibleJai . I have done 1 & 2 steps successfully. For 3 rd one, i am not able to see any users/groups/roles data in the postgress tables.But if any invoke this end point **http://localhost:7007/api/permission/roles**,i am able to fetch the data. Thanks for your responses. |
@invincibleJai I have one more scenario: |
I am observing one issue with create a role, its permissions for the particular plugin and assigned to user with RBAC plugin UI which is using rest internally. When i try to login with that user,i will not be able to see that plugin. But |
🔖 Summary
I have added permission in app-config.yaml and enable the permission framework. But still, not showing custom plugin admin page plugin dropdown.Please let me know if anything i can add to enable that.
access-demo is my plugin id.
🌐 Project website (if applicable)
No response
✌️ Context
No response
👀 Have you spent some time to check if this plugin request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: