wishlist: incorporate EVERYTHING permission with (or where) usr_has_perm_at

Bug #2024863 reported by Andrea Neiman
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Evergreen
New
Wishlist
Unassigned

Bug Description

Related discussion on bug 2024657.

The problem, today (3.12 main) and shamelessly copied from my slides:

* The usr_has_perm_at function doesn't consult the EVERYTHING permission, since it would execute the EVERYTHING permission check as "Give me ALL THE PERMISSIONS for ALL THE LOCATIONS for this user!" and that would be a huge data dump up to whatever part of the software is looking for this info.

Potential solutions, in need of discussion, similarly copied shamelessly:

* Identify where usr_has_perm_at is in use, and add a separate EVERYTHING check to those areas
* Teach usr_has_perm_at to check EVERYTHING but do something reasonable (i.e., not dump all that data).
* Other suggestions?

Discuss!

Tags: permissions
Andrea Neiman (aneiman)
description: updated
summary: - wishlist: incorporate EVERYTHING permission with usr_has_perm_at
+ wishlist: incorporate EVERYTHING permission with (or where)
+ usr_has_perm_at
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.