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

UI - Group roles by tags #1375

Open
abvaidya opened this issue Mar 18, 2021 · 0 comments
Open

UI - Group roles by tags #1375

abvaidya opened this issue Mar 18, 2021 · 0 comments
Labels
feature request HackTogether javascript Pull requests that update Javascript code react

Comments

@abvaidya
Copy link
Collaborator

abvaidya commented Mar 18, 2021

Today, domain home page allows grouping of roles by static prefixes by means of configuration.

https://github.com/AthenZ/athenz/blob/master/ui/src/config/default-config.js

allPrefixes: [
            {
                name: 'AWS',
                prefix: ':role.aws',
            },
           {
                name: 'Kubernetes',
                prefix: ':role.k8s',
            },
]

so with above configuration, roles with names aws.fed.admin.user, aws.fed.power.user will be grouped under name "AWS", and roles with names k8s.dev, k8s.admin will be grouped together. ( role is a standard prefix for role entity in Athenz )

This issue is created to add a new feature to allow users group their roles dynamically using role tags. Roles with all tags with same value will be grouped together in the UI.

e.g role1 has tag environment=dev, role2 has tag environment=prod and role3 has tag environment=dev, if user wants to group role by "environment" tag, then role1 and role3 will be grouped together.

Expectations:

  • New code and corresponding unit tests with 100% code coverage
@abvaidya abvaidya added feature request HackTogether javascript Pull requests that update Javascript code react labels Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request HackTogether javascript Pull requests that update Javascript code react
Projects
None yet
Development

No branches or pull requests

1 participant