fix(core): uploaders cannot open sequences; a sequence title is never empty
The uploader role carried Read, letting upload-only accounts browse thumbnails and proxies although the users page promises they cannot open sequences (listing targets needs only Upload). DisplayTitle falls back to the folder name when there is no title, date or camera. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012iLMBNwBE2GnphAsu4cjaC
This commit is contained in:
2 files changed
+14
-5
No files matched your search
@@ -120,7 +120,8 @@ public static class RolePermissions
|
||||
{
|
||||
UserRole.Admin => Permissions.All,
|
||||
UserRole.Editor => Permissions.Read | Permissions.Upload | Permissions.Edit | Permissions.Delete | Permissions.Render | Permissions.RenderNode,
|
||||
UserRole.Uploader => Permissions.Read | Permissions.Upload,
|
||||
// Upload only: an uploader lists sequences to pick a target but cannot open them (AdminUsers mockup).
|
||||
UserRole.Uploader => Permissions.Upload,
|
||||
_ => Permissions.Read,
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user