6.0.0-beta1
7/12/25

[#12413] Setting permissions fails when also saving share at the same time with sqlng driver.
Summary Setting permissions fails when also saving share at the same time with sqlng driver.
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners mrubinsk (at) horde (dot) org
Requester simon (at) simonandkate (dot) net
Created 06/28/2013 (4397 days ago)
Due
Updated 07/05/2013 (4390 days ago)
Assigned 07/02/2013 (4393 days ago)
Resolved 07/05/2013 (4390 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
07/05/2013 07:09:11 PM Michael Rubinsky Summary ⇒ Setting permissions fails when also saving share at the same time with sqlng driver.
 
07/05/2013 07:07:56 PM Michael Rubinsky Version ⇒ Git master
Queue ⇒ Horde Framework Packages
 
07/05/2013 07:07:35 PM Michael Rubinsky Comment #3
State ⇒ Resolved
Reply to this comment
Problem was in Horde_Share, fixed.
07/05/2013 07:06:59 PM Git Commit Comment #2 Reply to this comment
Changes have been made in Git (master):

commit fff1e129887cf0351e5c9d47eadb03c46a9b2089
Author: Michael J Rubinsky <mrubinsk@horde.org>
Date:   Fri Jul 5 15:01:31 2013 -0400

     Fix setting permissions on sqlng shares when also saving.

     We need available permissions to be set before saving, otherwise
     the perms_* columns will not be saved. Fixes Bug: 12413

  framework/Share/lib/Horde/Share/Object/Sqlng.php |    5 ++++-
  1 files changed, 4 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/fff1e129887cf0351e5c9d47eadb03c46a9b2089
07/02/2013 10:30:50 PM Jan Schneider State ⇒ Assigned
Assigned to Michael Rubinsky
 
06/28/2013 03:33:52 AM simon (at) simonandkate (dot) net Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Pref-set Default Permissions not applied
Queue ⇒ Ansel
Milestone ⇒
Patch ⇒ No
State ⇒ Unconfirmed
Reply to this comment
I have my preferences for Ansel set to:

When a new gallery is created, what permissions should be given to 
authenticated users by default?    Read-only
When a new gallery is created, what default permissions should be 
given to groups that the user is a member of?    None
When a new gallery is created, what permissions should be given to 
guests by default?    None

When I create a new Gallery, no-one else can see it. "Set Permissions" 
on that gallery show everything empty. If I tick Show/Read for All 
Authenticated Users, then they can view the gallery, as I would have 
expected would happen by default from my Preference settings.

Permissions work fine, but the preference-set defaults are not being applied.

Saved Queries