Increase length of the RBAC role names
Offen
standards
- Vorherrschende Sprache
- Rust
- Sterne
- 132
- Forks
- 167
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 110
Beschreibung
Currently we create our role names internally using `ShortCapitalString` which allows us to have at most 12 chars in the name. The problem is that any attempt to create an admin role for any of our roles (for example, create the `GER_INJECTOR_ADMIN`) will result in an error: name will be too long. So we should either change the way we construct the role name, or somehow update the `ShortCapitalString`, for example, making its `MAX_LENGTH` a constant parameter:
```rust
pub(crate) struct ShortCapitalString(String);
```
_Originally posted by @Fumuran in https://github.com/0xMiden/protocol/issues/3130#issuecomment-4925789869_
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.