+
+
+
+
+
+ {readOnly && (
+
+ Built-in roles are managed by CloudPAM and cannot be edited.
+
+ )}
+ {saveError && (
+
+ {saveError}
+
+ )}
+
+
+ {groupedPermissions.map(([category, items]) => (
+
+
{category}
+
+ {items.map(permission => (
+
+ ))}
+
+
+ ))}
+
+
+
+
+ {selectedPermissions.size} selected
+
+
+ {creating && (
+
+ )}
+ {!creating && activeRole && !activeRole.is_builtin && (
+
+ )}
+ {!readOnly && (
+
+ )}
+
+
+