Search in sources :

Example 1 with TenantRoleAssignmentDataTable

use of models.datatable.TenantRoleAssignmentDataTable in project coprhd-controller by CoprHD.

the class Tenants method listRoles.

@Restrictions({ @Restrict("SECURITY_ADMIN"), @Restrict("TENANT_ADMIN") })
public static void listRoles(String id) {
    TenantRoleAssignmentDataTable dataTable = new TenantRoleAssignmentDataTable(uri(id));
    TenantOrgRestRep tenant = TenantUtils.getTenant(id);
    render("@listRoles", dataTable, tenant);
}
Also used : TenantRoleAssignmentDataTable(models.datatable.TenantRoleAssignmentDataTable) Restrictions(controllers.deadbolt.Restrictions)

Aggregations

Restrictions (controllers.deadbolt.Restrictions)1 TenantRoleAssignmentDataTable (models.datatable.TenantRoleAssignmentDataTable)1