- Notifications
You must be signed in to change notification settings - Fork3.6k
Resource based authorization#24184
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Open
maliming wants to merge73 commits intodevChoose a base branch fromresource-based-auth
base:dev
Could not load branches
Branch not found:{{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline, and old review comments may become outdated.
+7,555 −248
Open
Changes from1 commit
Commits
Show all changes
73 commits Select commitHold shift + click to select a range
b535f42 Introduce IResourcePermissionChecker
hikalkanc175cfb Merge branch 'dev' into resource-based-auth
hikalkane5e25c5 Added GetGrantedResourceKeysAsync
hikalkan87e41a6 Added summaries
hikalkanca61e7d Reformat IPermissionManager
hikalkan8448bdd Remove outdated comment
hikalkane662b62 Create IResourcePermissionManager.cs
hikalkan74d6bdb Add resource permission management interfaces and implementations
maliming4c35fc9 Add resource-based permission to PermissionDefinition system.
malimingfccc3f2 Add resource-based permission value providers
maliming22cfc5b Refactor permission type to resource name
maliming859a4c3 Merge branch 'dev' into resource-based-auth
maliminga2d39ad Implement resource-based permission management with new methods and c…
malimingf2e5cb7 Enhance resource permission management by adding provider name and ke…
maliming09675eb Refactor GetPermissionsAsync method to return MultiplePermissionGrant…
malimingcdc3fdd Implement `ResourcePermissionStore`.
maliming0c0cff7 Add resource permission grant repositories for EF Core and MongoDB
maliming90bf895 Implement `ResourcePermissionManager`.
maliming2f56610 Add resource permission checker and store extension methods for entit…
malimingb3706cf Add resource permission management features and update API methods
maliming8bd08b9 Make constructor public in permission handler
maliming6be3559 Refactor permission management module
maliming39b60db Refactor permission grant info types in role provider
maliming25f6877 feat(permission-management): add resource permission management features
maliming1398c8d fix(permission-management): validate user ID parsing in role permissi…
maliming4b96a90 feat: Enhance user and role management with search capabilities and r…
maliming0e5cce3 feat(permission-management): update resource permission management mo…
maliminga14a53d feat: Add SearchByIdsAsync methods for users and roles in Identity mo…
maliming2844e59 feat(permission-management): update resource permission handling and …
maliming8e7218f Remove resource permissions modal and related actions from roles and …
maliming7eb5066 Remove resource permission management script from roles and users pages
maliming706ae23 Add 'ResourcePermissions' to English UI resources
maliming4698cf3 Remove TestPermissionDefinitionProvider and update localization keys …
malimingda213bf Merge branch 'dev' into resource-based-auth
malimingbf8bfb9 Enhance permission management and localization for resource permissions
maliming185485d Add localization for User and Role resource permission provider keys …
maliming286e312 Refactor permission retrieval methods and clean up unused model valid…
maliming908e51e Add missing closing brackets in localization files for Czech and English
maliming7d5a988 Add resource management permissions and update authorization attribut…
malimingba036ad Fix form validation trigger on provider key change in resource permis…
maliming9f33eb0 Update modal footer buttons in permission management modals for consi…
maliming147d88c Add localization for "NoResourceProviderKeyLookupServiceFound" messag…
maliming7cbc6c3 Implement resource permissions management with new interfaces and ext…
malimingc8c46c8 Add resource permission management to RoleUpdateEventHandler
maliming288578b Refactor ResourcePermissionGrant properties and index for improved cl…
malimingc7413e6 Refactor permission group assertions in tests
maliming3925ba3 Refactor resource permission population logic
maliming621d126 Merge branch 'dev' into resource-based-auth
maliming0e6fa6b Add "NoResourcePermissionFound" localization key and update related m…
malimingf30c53b Add ResourcePermissionGrant cache invalidator
malimingd278998 Add resource permission value provider tests
malimingda995d4 Add resource permission checker tests and update permission definitions
malimingd83b9b3 Add resource permission tests to StaticPermissionDefinitionStore
maliming9edc439 Prevent child permissions for resource permissions
maliminge42917d Add resource permission grant repository tests
malimingefaeebf Implement resource permission deletion in Role and User event handlers
maliming8c17421 Add resource permission manager extensions for roles and users
maliming7d6e3d7 Add new tests for user and role search methods
maliming21a303c Return empty list for empty filter in search methods
maliming3679b0b Add `ResourcePermissionStore_Tests`
maliming75230d9 Add unit tests for ResourcePermissionChecker
maliming5bb3ac0 Add tests for ResourcePermissionGrant cache behavior
maliming470cfda Support resource permissions in permission serialization
maliming843a3da Add resource permission management provider and tests
maliming4628196 Add pagination support to resource permission search methods
maliming2562500 Update pagination logic in permission modal
malimingf5404df Introduce IKeyedObject and unify object key access
hikalkand425c0f Add GetObjectKey method to MyEntity class
hikalkan5c93eb0 Add tests for KeyedObjectHelper composite key methods
hikalkan0658ad8 Remove JetBrains.Annotations and improve formatting
hikalkan7500ec5 Make EntityResourcePermissionRequirementHandler
hikalkanc190580 Rename ResourcePermissionExtenstions class
hikalkancea95ea Merge branch 'dev' into resource-based-auth
malimingFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
Enhance resource permission management by adding provider name and ke…
…y parameters to permission checks
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
commitf2e5cb75b0fcc279645622226a1f9141b65a8c91
There are no files selected for viewing
21 changes: 19 additions & 2 deletions...ion.Abstractions/Volo/Abp/Authorization/Permissions/Resources/IResourcePermissionStore.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions....Abstractions/Volo/Abp/Authorization/Permissions/Resources/NullResourcePermissionStore.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions...actions/Volo/Abp/Authorization/Permissions/Resources/ResourcePermissionStoreExtensions.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions...ation/Volo/Abp/Authorization/Permissions/Resources/RoleResourcePermissionValueProvider.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions...ation/Volo/Abp/Authorization/Permissions/Resources/UserResourcePermissionValueProvider.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
16 changes: 8 additions & 8 deletions...n/Volo/Abp/Authorization/Permissions/Resources/EntityResourcePermissionStoreExtensions.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletionsframework/src/Volo.Abp.Ddd.Domain/Volo/Abp/Domain/AbpDddDomainModule.cs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.