Move role related views to FAB Auth manager:

- List roles
- Edit role
- Create role
- View role
"""Customize permission names for FAB's builtin RoleModelView."""
    class_permission_name = permissions.RESOURCE_ROLE
    method_permission_name = {
        "delete": "delete",
        "download": "read",
        "show": "read",
        "list": "read",
        "edit": "edit",
        "add": "create",
        "copy_role": "create",
    }
    base_permissions = [
        permissions.ACTION_CAN_CREATE,
        permissions.ACTION_CAN_READ,
        permissions.ACTION_CAN_EDIT,
        permissions.ACTION_CAN_DELETE,
    ]
class ResourceModelView(ViewMenuModelView):