Summary | create_default_histories fails |
Queue | Turba |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | mrubinsk (at) horde (dot) org |
Requester | han.spruyt (at) ijsselgroep (dot) nl |
Created | 03/17/2006 (7083 days ago) |
Due | |
Updated | 04/08/2006 (7061 days ago) |
Assigned | 04/01/2006 (7068 days ago) |
Resolved | 04/08/2006 (7061 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Feedback
http://cvs.horde.org/diff.php/turba/scripts/upgrades/create_default_histories.php?r1=1.1&r2=1.2&ty=u
For those that are interested:
The script now grabs all of turba's shares and adds them to the
sources array if they are not already present. Another, sort of
related problem was that since we were loading Turba's base.php before
we were authenticated, Turba_Driver objects were created (and cached
by singleton) - the factory method was never called *after* we
authenticated - which broke some of the share-related code in
Turba_Driver, so I had to modify the order of the include files
somewhat etc...
permissions completely. I don't know how to fix this, but you should
be able to update shared sources with this script, you can update
non-shared but private sources.
Turba::permissionsFilter($cfgSources, 'source', PERMS_EDIT);
doesn't return any shared sources.
share/permissions system doesn't seem to care if the user is listed as
an admin or not. I don't know if that is by design or not, so I'm not
sure if I should implement this check at the turba level, or implement
it at the framework level, so that if the user is listed as an admin
in the global horde configuration, DatatreeObject_Share::hasPermission
will always return true? That seems like a Bad Thing to me, although
I may be just paranoid.
State ⇒ Assigned
Assigned to Michael Rubinsky
Turba::permissionsFilter($cfgSources, 'source', PERMS_EDIT);
doesn't return any shared sources.
source map for localsql.
State ⇒ Feedback
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ create_default_histories fails
Queue ⇒ Turba
State ⇒ Unconfirmed
"turba/scripts/upgrades/2004-10-26_create_default_histories.php" does
not add a 'Created' time to contacts.
Output shows no errors :
Creating default histories for localsql ...
** Default histories successfully created ***
There *are* contacts in localsql without Created time.