-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic permission can't save in role #13024
Comments
chrome_SF0p462j0X.mp4 |
Hehe, I just wanted to open the same bug. Actually there is a second even bigger issue with this PR. The way the |
It seems that I should turn off PR first 🤣, |
I think you were in the right path, yes using For info I could also make it working by just using
Maybe you could re-open your PR ;) As a reminder, things to be checked.
|
Okay no problem will look at the PR tomorrow In the meantime can you try my above suggestion, if you have time |
I am planning to build a module to obtain the corresponding site settings by specifying a type name The first time I tested with 'ViewContent'. Then I changed it to: But it didn't turn out, as I expected, that it actually had access I have a big screenshot here, which shows my problems |
@hyzx86 are you working on a PR for this? |
Not really. I just fixed the problem of edit role The permission check is not work. I don't know what the problem is |
I've created a separate issue #13035 for the |
bug in pull: #12510
cuz the code only can load the static permissions , the program will break on line 235
OrchardCore/src/OrchardCore.Modules/OrchardCore.Roles/Controllers/AdminController.cs
Lines 219 to 252 in 083d5d7
We should load all permissions this way:
OrchardCore/src/OrchardCore.Modules/OrchardCore.Roles/Controllers/AdminController.cs
Lines 184 to 185 in 083d5d7
The text was updated successfully, but these errors were encountered: