You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Cap role description length and update role updated_at when custom-role permissions are dropped #667
Follow-up from the review of #647 (review). Both items are non-blocking and were out of scope for that PR.
Cap the role description length. The field has no max length. A 10k+ character value was accepted during review. The longest existing role description is 201 characters. Proposed limit: 300 or 500 characters, enforced in the serializer.
Update updated_at when load_authz_schema --drop-custom-role-permissions removes grants. The command deletes permission grants without touching the role row, so updated_at stays old and GET /roles/ sorts by a stale timestamp. ADR 0036 says permission changes should update the role's timestamp.
Activity
feat: cap role description length and update timestamp on permission …
feat: cap role description length and update timestamp on permission …
feat: cap role description length and update timestamp on permission …
feat: cap role description length and update timestamp on permission …