Base solution for your next web application
Open Closed

Disable permissions for child method #2638


User avatar
0
ivanosw1 created

Hi, The scenario is:

[AbpAuthorization('MakeThisMyRootThing')] public void MakeThisMyRottThing { ... do something var infos =ReadPrivateInfo(); ... do something }

[AbpAuthorization('ReadPrivateInfo') public List<Ino> ReadPrivateInfo { return new list<Info>(); }

I wondering how grant a user only one root permission, eg MakeThisMyRootThing, and allow this method to call all other protected methods (potentially written by third person like Abp) without remove the permission. This is usefull when I want to grant a permission to a process and not to every single call chain, but some of the chain methods may be called individually and so the permission is needed.

Thanks, Ivano

Markdown is supported
Copy & paste or drag & drop images (max 30 MB per image)

1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    This is not possible with the current version of ABP.

    Markdown is supported
    Copy & paste or drag & drop images (max 30 MB per image)