Forum Discussion

peterlu's avatar
peterlu
Champion
11 years ago

permission api

what is the api to query if a user has a certain permission, eg, "switch user"? I know that we can use role to check. But it is not the best way.