Opened 16 years ago
Closed 13 years ago
#542 closed enhancement (fixed)
Security Wizard and Change Owner should work only if user owns the records (or is a member of the admins group)
| Reported by: | bweaver | Owned by: | Pete Cyr |
|---|---|---|---|
| Priority: | major | Milestone: | Release Candidate 2 |
| Component: | Curator Tool | Version: | 2.0.3915 |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
The Security Wizard and Change Owner functionality should be enabled in the CT only if at least one of the following are true:
- User owns the record(s)
- User is a member of the administrators
The ValidateLogin returns a field named "groups" which contains a tab-delimited list of the sys_group.group_tag values to which the user belongs. If a user is a member of the administrators group, this field will contain "admins" somewhere in it (always lowercase, cannot be altered by the admin tool -- shows up as uppercase in admin tool but is returned in lowercase by the middle tier). Since a user may belong to multiple groups, it would be best to split the "groups" field on tabs then check for an exact match of "admins" in the array.
Change History (2)
comment:1 by , 16 years ago
| Type: | defect → enhancement |
|---|
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
