Summary | Permission sql driver |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Enhancement |
State | Resolved |
Priority | 1. Low |
Owners | chuck (at) horde (dot) org |
Requester | duck (at) obala (dot) net |
Created | 2008-01-25 (4742 days ago) |
Due | |
Updated | 2008-04-10 (4666 days ago) |
Assigned | 2008-04-10 (4666 days ago) |
Resolved | 2008-04-10 (4666 days ago) |
Milestone | |
Patch | Yes |
State ⇒ Resolved
http://lists.horde.org/archives/cvs/Week-of-Mon-20080407/077159.html
State ⇒ Assigned
3.1_to_3.2 upgrade script. The schema also does not appear in the
scripts/sql directory. This is in a FRAMEWORK_3 checkout from tonight.
dependencies/references out and make this work without them. Thanks!
horde/admin/perms/add_child.php.
Assigned to Chuck Hagenbuch
State ⇒ Resolved
dependencies/references out and make this work without them. Thanks!
even without the rest of this (though I'm working on the full patch
too). Thanks again.
New Attachment: sql[1].php
Works on all my installations.
New Attachment: sql.php
Finished.
Type ⇒ Enhancement
State ⇒ New
Priority ⇒ 1. Low
Summary ⇒ Permission sql driver
Queue ⇒ Horde Framework Packages
New Attachment: perms.tgz
Permission actually uses only id, name, parents and data colum for
serialize its attributes. So with this driver you get a very small and
fast table loading only the data needed when needed. And even loads
and connect the db objeject only when need, as the comon calls are
only hasPermission and exists and if you use cache you will never
build anoter DB conenction to check a premission.
You also need the apply the perms.diff to the permissions UI as one
datatree call is harcoded. As the permission driver, but this you must
change it by your own.
Files:
- perms.sql, horde_perms table structure
- migrate.php: moves your current permissons to a flat table
- perms.diff current UI fix
- sql.php driver to out in Horde/Perms/sql.php
- test.php, runs all driver methods for result coparations