Bug #97971 Roles not handling column level privileges correctly; Can SELECT, but not UPDATE
| Submitted: | 12 Dec 2019 17:30 | Modified: | 24 Nov 2020 17:51 |
|---|---|---|---|
| Reporter: | Travis Bement | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Security: Privileges | Severity: | S3 (Non-critical) |
| Version: | 8.0.18 | OS: | Any |
| Assigned to: | CPU Architecture: | Any | |
| Tags: | Column Privileges, roles | ||
[12 Dec 2019 17:30]
Travis Bement
[13 Dec 2019 10:22]
MySQL Verification Team
Hello Travis Bement, Thank you for the bug report. regards, Umesh
[13 Dec 2019 10:23]
MySQL Verification Team
Test results - 8.0.18
Attachment: 97971.results (application/octet-stream, text), 8.23 KiB.
[13 Dec 2019 20:43]
Travis Bement
A few more details: If I add column level select privileges for the role, it works (confirming the workaround). Also, this may not actually be an issue with column level privileges specifically, but more of a general issue where privileges can only be used from one 'role' at a time. I had a case where I was working with table level permissions in a similar fashion where it required one role with update table permissions and then another role that had select schema privileges and I couldn't do a table update with a where clause for the same reason.
[24 Nov 2020 17:51]
Paul DuBois
Posted by developer: Fixed in 8.0.22. Privileges granted using roles could be mishandled at the column-privilege level.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.