Added getPermittedActions method