We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 65e6846 commit 3b030b2Copy full SHA for 3b030b2
src/Database/Validator/Roles.php
@@ -241,7 +241,11 @@ protected function isValidRole(
241
self::ROLE_LABEL => new Label(),
242
default => new Key(),
243
};
244
- $dimensionValidator = new Key(maxLength: 60);
+ /**
245
+ * For project-specific permissions, roles will be in the format `project-<projectId>-<role>`.
246
+ * Template takes 9 characters, `projectId` and `role` can be upto 36 characters. In total, 81 characters.
247
+ */
248
+ $dimensionValidator = new Key(maxLength: 81);
249
250
$config = self::CONFIG[$role] ?? null;
251
0 commit comments