Opened 17 years ago
Closed 17 years ago
#224 closed enhancement (fixed)
BZ209 Effective Permissions display misleading on v 0.4.4 for Any Data View and Any Table It Reads Create DENIED READ ALLOW UPDATE DENIED DELETE DENIED
| Reported by: | Mark J. Millard | Owned by: | Mark J. Millard |
|---|---|---|---|
| Priority: | trivial | Milestone: | Beta 1 |
| Component: | Admin Tool | Version: | Alpha 0 |
| Severity: | minor | Keywords: | User Administrator |
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description (last modified by )
I don't understand the display on the effective permissions display. When the
default is selected -- Any Data View -- and -- Any Table -- Read: says Allow
and all others say DENIED. Are these the actual permissions or should these be
grayed out until an actual view or table is selected? I like the idea that
some Effective permissions are shown if indeed there are some, but it needs to
be refined. For instance on test5 on 2009-10-25 for the accession table.
CRUD reads:
Allow
Varies by row
Varies by row
Varies by row
CRUD on default of any in both reads:
DENIED
Allow
DENIED
DENIED
Shouldn't it read
Varies by Table
Varies by Table
Varies by Table
Varies by Table
?
If their needs to be something picked than perhas the default on the dropdown
should read Pick Any Data View and Pick Any Table and everything should be
blanked out under CRUD.
Change History (5)
comment:1 by , 17 years ago
| Summary: | Effective Permissions display misleading on v 0.4.4 for Any Data View and Any Table It Reads Create DENIED READ ALLOW UPDATE DENIED DELETE DENIED → BZ209 Effective Permissions display misleading on v 0.4.4 for Any Data View and Any Table It Reads Create DENIED READ ALLOW UPDATE DENIED DELETE DENIED |
|---|
comment:2 by , 17 years ago
| Description: | modified (diff) |
|---|---|
| Status: | new → addressed |
comment:3 by , 17 years ago
| Status: | addressed → released |
|---|
comment:4 by , 17 years ago
comment:5 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | released → closed |
Closed by MJM as the admininstrator tool appears to work as advertised.

This bug was fixed before we began using Trac. The admin tool will now properly display "Varies By Row" when needed. It was previously ignoring row-level restrictions and displaying just the resultant "DENIED" or "ALLOWED". (Since there's no 'current' row when viewing permissions in the Admin Tool, if a permission has restrictions based on the 'current' row the real permission value can not be calculated, so the placeholder "Varies By Row" is displayed)