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

Add permissions checks on configuration pages and etc #293

Closed
callmevladik opened this issue Jul 5, 2024 · 0 comments · Fixed by #294
Closed

Add permissions checks on configuration pages and etc #293

callmevladik opened this issue Jul 5, 2024 · 0 comments · Fixed by #294
Assignees
Labels
enhancement New feature or request

Comments

@callmevladik
Copy link
Contributor

callmevladik commented Jul 5, 2024

In order to enhance the user experience and enforce permission levels within the application, certain UI elements need to be disabled for users with the developer role. The following UI elements should be disabled based on the user's permissions:

  1. {}Add a link button on the Overview page.{}

  2. {}Add integration button on the Configuration page.{}

  3. {}Add button on the first component or environment page.{}

This task involves both front-end changes to conditionally render these elements based on the user's role and back-end changes to ensure that the permissions are correctly enforced.

{}Acceptance Criteria:{}

  1. Users with the developer role do not see the 'Add a link' button on the Overview page.
  2. Users with the developer role do not see the 'Add integration' button on the Configuration page.
  3. Users with the developer role do not see the 'Add' button on the first component or environment page.
  4. Attempting to access these functionalities directly (e.g., via URL manipulation) by a user with the developer role results in an appropriate access denied message.
  5. Documentation is updated to reflect these UI and permission changes.
@callmevladik callmevladik converted this from a draft issue Jul 5, 2024
@callmevladik callmevladik changed the title Add rules checks on configuration pages and etc Add permissions checks on configuration pages and etc Jul 5, 2024
@callmevladik callmevladik self-assigned this Jul 5, 2024
@callmevladik callmevladik added the enhancement New feature or request label Jul 5, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in KubeRocketCI Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant