Skip to content

Conversation

@kartik-579
Copy link
Member

@kartik-579 kartik-579 commented Apr 12, 2023

Description

Added new default rbac policies and role structure. Cached both of them and added own rendering logic for faster processing.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Local Environment
  • Test Cluster

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@kartik-579 kartik-579 changed the title feat: added new default rbac policy, role structure and caching feat: optimised user addition/creation flows Apr 12, 2023
nishant-d
nishant-d previously approved these changes Apr 16, 2023
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 6 Code Smells

No Coverage information No Coverage information
5.1% 5.1% Duplication

@kartik-579 kartik-579 merged commit 69c3a83 into main Apr 18, 2023
@kartik-579 kartik-579 deleted the cache-rbac-policy-role branch April 18, 2023 05:12
gireesh-naidu pushed a commit that referenced this pull request Jun 16, 2023
* added new default rbac policy, role structure and caching

* renamed sql tables and files for supporting preset and custom roles

* added notnull tag for deleted field in RbacRoleData db obj

* renaming fixes

* updated sql script no

* updated signature

* made default policy/role methods creation/updation transactional

* updated role description and role display name in sql

* fix in repository method

* updated update method for default role, policy

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants