The perm entry in the permission table is one of the last dark age places where we need to do LIKE queries to get the value.
This mode of storage makes it potentially break for permissions that are named similar to other permissions.
I think we could then (in order to reduce the number of SQL queries) cache the permissions for each role in the variable table.
Opinions?
Comments
Comment #1
drumm+1
normalization++
etc.
Comment #2
jhriggs commentedSee similar (but not duplicate) 12596 which is based on discussion in 12542.
Comment #3
coreb commentedMoving out of the x.y.z queue into 6.x-dev. I have no idea if this is still viable or not anymore.
Comment #4
webchickYep, still an issue in 5.x/6.x.
Comment #5
Paul Natsuo Kishimoto commentedSubscribing.
Comment #6
kkaefer commentedSee http://drupal.org/node/73874.