Hi,
I created a new role and a new user.
I added permission to role.
User can go entities if i gave this role to him. But when i gave this role from organizational unit he can not go entities. Also can not see this module in menu.
I used 8.1 Core Angular..
11 Answer(s)
-
0
And when i deleted organizational unit. Users roles can not be changed which came from organizational unit. This roles' checkbox disabled. There is a info like 'this role came from organizational unit'. Bu there are no organizational unit.
I think it is a bug..
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Can you reproduce the problem on the zero live demo site? If so please provide steps.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
http://df514972.demo.aspnetzero.com
admin 123456
You can check user muhittin.celik's roles.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
I reproduced my second question. I am trying first one.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
hi I create a role named
TestRoleand give it some permissions(Users,Roles) I create a organization namedTestORGand give it an user(andrew.andrewus) and a role(TestRole)When I log in using
andrew.andrewuseverything works fine.Regarding the issue of deleted organizational unit, I have not tried it yet, Let's go step by step.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
In my site i tried my first question it is working. I can not reproduce again. I will try again.
You can check my second question.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
ok
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Ok i reproduce the problem.
I created role and give permisions to this role I create a user I create a organizational unit and give this role to this unit Add this organization unit to this user.
Everything ok and work
I edit user permission and unselect all permission's. And save He also owns organizational unit. And can not go pagess. I took and and organizational unit again but nothing changed.
I think user can take permissions from organiational unit if i take from permissions. Or if i take org unit and give again permission may be added again.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
hi
You can set its permissions for a user, or set a role with permissions for a user. Or add a user to an organization, it may contain multiple roles.
However, the priority of the user's own permissions is the highest, that is, if you revoke a user's permission, even if the user's role has this permission, the user will show that there is no such permission.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
hi muhittincelik
And when i deleted organizational unit. Users roles can not be changed which came from organizational unit.
This problem is solved see: https://github.com/aspnetzero/aspnet-zero-core/issues/2892
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
This issue is closed because of no recent activity. Please open a new issue if you are still having this problem.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)