Method for checking by roles