is_allowed


Description:

public bool is_allowed (string role, string permission)

Check if role in this is given permission for permission.

Parameters:

this

a Permissions

role

a role

permission

a permission

Returns:

true if role is allowed permission.