Repository navigation
Commit d88f1fd
Remove duplicate gacl_axo rows so User and Calendar permissions can be granted
Migrations 048 (admin to users) and 049 (calendar to events) renamed
gacl_axo rows onto values that already existed, and 012 had dropped the
unique index that would have blocked it. A fresh install ends up with two
app/users rows and two app/events rows. phpGACL treats a section/value pair
that matches more than one row as missing, so adding "User Administration",
"User Table", "Calendar" or "Events" to a role fails with:
add_acl(): AXO Object Section Value: app Value: users DOES NOT exist
in the database. Skipping...
Migration 064 keeps the lowest id of each duplicate (User Administration,
Calendar), removes the other from gacl_groups_axo_map and gacl_axo, and
restores the unique (section_value, value) index.
Fixes #385
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_016CP89WVmGZ1VVCCZMS6ntN1 parent 5ff78db commit d88f1fd
1 file changed
Lines changed: 21 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
0 commit comments