mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-28 18:12:16 +00:00
fix: checkperms (#689)
* fix: read user grants as grant owner * fix: read user grants as grant owner
This commit is contained in:
@@ -1148,10 +1148,10 @@ func (m *CreateMachineRequest) Validate() error {
|
||||
}
|
||||
}
|
||||
|
||||
if l := utf8.RuneCountInString(m.GetDescription()); l < 1 || l > 500 {
|
||||
if utf8.RuneCountInString(m.GetDescription()) > 500 {
|
||||
return CreateMachineRequestValidationError{
|
||||
field: "Description",
|
||||
reason: "value length must be between 1 and 500 runes, inclusive",
|
||||
reason: "value length must be at most 500 runes",
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user