-
I have succussivly made admin upload pictures by ajax to but a normal user can not, getting response I have allocated all permissions to the role which the users belongs to If I add admin role to this normal user, then the user can upload picures. the related action maybe is OrchardCore.Media/Controllers/AdminController::Upload
how could I debug it? |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
now I found that I have to add another permission Access admin panel with id Is it safe to grant this permission to all Authenticated usrers ? is there any way to skip verifying this permission ? |
Beta Was this translation helpful? Give feedback.
-
@scil if you are giving a permission to a room within a building then you also need to give a permission to enter in the building So yes you need to give permission for AccessAdminPanel as Media app resides inside the admin |
Beta Was this translation helpful? Give feedback.
-
@scil 兄嘚,快到群里来QQ: 877196442 |
Beta Was this translation helpful? Give feedback.
-
a recipe to grant necessary permissions to allowe users to upload files migration.recipe.v3.Permissions.upload.json
Migrations.cs
|
Beta Was this translation helpful? Give feedback.
-
Now for security, I copied It's redundant. the best way is to change |
Beta Was this translation helpful? Give feedback.
now I found that I have to add another permission Access admin panel with id
AccessAdminPanel
.Is it safe to grant this permission to all Authenticated usrers ?
is there any way to skip verifying this permission ?