It seems to be you need to have a mapping with your rule and a resource id. Cos in the permission model we authorize based on the resource id (/x/y/z) etc ... I believe what you have given is only a single example. Thus there can be many permutations? (like, name ending with Temp_ etc ...). Can you explain all possible permutations for this ? Then we might be able to come up with a resource id/resource id pattern which correspond to your rules.
Thankx AmilaJ Danushka Menikkumbura wrote: > Hi devs, > > Inside my Carbon component I need to impose certain rules to restrict > access to JMS objects. For an example I need to say something like "do > not let user A create JMS queues that have names starting with Temp_". > I can handle the rule language myself but how can I get the existing > permission model to work with this?. I don't think the registry-based > model would help as we do not have resources attached in this case. > > Thanks, > Danushka > ------------------------------------------------------------------------ > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > _______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev