Comments (1)
Hi @TanmayKhalikar,
I am not sure how you add an Tenant Admin Role or Tenant User Role to created Tenant like Example3. The typical way is to use the IAuthRolesAdminService
service to add your two Roles (see this section in the AuthP's documentation).
You can use the IAuthRolesAdminService
service with a Hierarchical multi-tenant application, but it has some differences:
- The Tenant User is designed to control users at the same level or lower. For instance the image shows a user called "Joe" who has access to the SanFran, Dress4U and Tie4U users. And a user at the "4U" can see all the data and control all the user in this tenant.
- To get all the users that the Tenant Admin can control the code must the
_authUsersAdmin.QueryAuthUsers(dataKey)
with the Tenant Admin's dataKey - see this section the AuthP's documentation.
Example4 has this Tenant user feature in it - try logging into Example4's app and log in as "[email protected]" and then use "Auth Admin -> List all AuthUsers" and you will various users that the "[email protected]" can control.
from authpermissions.aspnetcore.
Related Issues (20)
- Extend UsingEfCoreSqlServer to be able to influence DbContextOptionsBuilder HOT 2
- Not able to create hierarchical sub tenant HOT 4
- Having issue with permissions and claim HOT 3
- Custom rules for each tenant HOT 3
- `AddSuperUserToIndividualAccounts` doesn't seem to be working HOT 1
- AuthP working with Azure App Configuration HOT 1
- SignedUp User not able to assign the permissions for all the actions HOT 4
- Version conflict detected for Microsoft.CodeAnalysis.Common. Install/reference Microsoft.CodeAnalysis.Common 4.8.0 directly HOT 6
- How exactly does the refresh token work? HOT 6
- PLEASE ADD TENANT INACTIVE PROPERTY HOT 1
- What's the need of sharding File store cache HOT 4
- Some claim changes ignored until logout/login HOT 3
- Enable Audit functionality on Tenant HOT 4
- ShardingServices - value cannot be null due to update to 5.0.1 HOT 6
- User access in multiple tenants HOT 4
- Support .NET 8 HOT 4
- The name of the database date can't be null HOT 15
- Soft Delete HOT 1
- Create admin user with tenant admin role HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from authpermissions.aspnetcore.