Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
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


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

    Hi,

    This is not possible with the current version of ABP.