Skip to content
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

rbac-backend plugin: implement loading conditions from file #671

Open
Tracked by #585
AndrienkoAleksandr opened this issue Oct 29, 2023 · 1 comment
Open
Tracked by #585
Labels
jira Sync this issue with Jira kind/feature status/triage

Comments

@AndrienkoAleksandr
Copy link
Contributor

AndrienkoAleksandr commented Oct 29, 2023

Provide a clear and concise description of the feature request

rbac-backend plugin: implement loading backstage conditions from file.

Describe the problem that this feature resolves

The RBAC-backend plugin should include support for backstage conditions and offer a REST API for this feature. Additionally, it would be beneficial to allow the creation of conditions using an external file. The external file path can be configured through the application context for flexibility.

Additional context or screenshots for the feature request

Acceptance Criteria

User can provide pre-defined conditions for backstage/showcase instance with help of external file.

@AndrienkoAleksandr AndrienkoAleksandr changed the title (rbac): rbac-backend plugin: implement loading conditions from file Oct 29, 2023
@AndrienkoAleksandr
Copy link
Contributor Author

Currently, we have a feature that allows users to define RBAC policies or group policies using an external file. The RBAC-backend plugin uses the CSV format, where each new policy or group policy is defined on a single line. However, backstage conditions can be quite extensive, because condition content is in JSON format.

To simplify the maintenance of these conditions, I propose setting up conditions using separate JSON or YAML file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
jira Sync this issue with Jira kind/feature status/triage
Projects
None yet
Development

No branches or pull requests

2 participants