abpframework / abpframework/abp
Add ApplicationName to roles
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 14.4k
- Forks
- 3.7k
- Avg merge
- 15h 32m
- Merged PRs (30d)
- 106
Description
Assume that a single database is shared between multiple applications. In such a case, every application may want to see & manage its own roles.
An application can set a global option (like AbpIdentityOptions.ApplicationName) and the Identity module filters data based on it and ensures that only this application related roles are managed.
If it is not set by the applcation, all roles are managed.
Maybe this is not a unique problem to Roles. We should think about it while implementing.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading the Identity module's role management and the AbpIdentityOptions.ApplicationName option. Determine how a shared database should filter and manage application-specific roles, and consider whether the same isolation is needed for other Identity data. Done means roles are scoped when the option is set while all roles remain manageable when it is unset.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- authorization, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100