question about default group permission

durchsetzung

Joined: 2009-08-01
Posts: 7
Posted: Sat, 2009-08-01 14:07

great work so far....

when i create a new subalbum every existing group
gets "view permission" on that album. is there a way
to change the default value to "no permission"?

thx m.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-08-01 20:01

Please post a screenshot of your permissions.

Permissions inherit from the parent album, so I'm confused as to what's happening for you. From what you describe, your parent album would have to have all groups assigned, then you create a new sub-album. That sub-album inherits the parent album's permissions. This is the way all permission systems I've ever used behave. It's not going to change.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
durchsetzung

Joined: 2009-08-01
Posts: 7
Posted: Sat, 2009-08-01 22:30

ahh i see...

at the moment i have one main-album with view permissions for all groups.

i thought i could only have one main-album and because i want to have
one album per group i started to create sub-albums.
i dont want to change the permissions for all the existing albums
every time i create a new group or album mhh...

is there a way to create only main-albums.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-08-01 22:45

There is only 1 "main" album that's the main page of your Gallery install.

If you want each group to have their own album, you'll need to do the work of creating the albums and assigning permissions to the albums. Once it's done, it's done and you won't have to deal with it anymore.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
durchsetzung

Joined: 2009-08-01
Posts: 7
Posted: Sat, 2009-08-01 23:23

o.k. but for instance when i have lets say 50 albums after a few months
and i want to create a new group with own album. i have to change the
permissions of all 50 albums so that they doesnt show up when the new group
login to gallery? uff... is there no work around?

thanks

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sat, 2009-08-01 23:45

Right now, no, there is no work around. We're talking about software that's still in Beta. Once more of the community creates modules, I'm sure there will be some sort of User Album module, but right now there is not.

You could always code one yourself or wait until someone creates one or just deal with it :) 50 albums over the course of a few months is nothing. Just make it part of your workflow.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
durchsetzung

Joined: 2009-08-01
Posts: 7
Posted: Sat, 2009-08-01 23:52

then it would be great to have a kind of album.sub.menue where i got
all the existing albums and the group-permissions organized at one
page in a simple view with clickboxes to set permissions more
efficient as in the ajax window.

thanks a lot so far...

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-08-02 00:19

I take that back. Looks like someone has create a "User Homes" module. I haven't used it yet so I don't know how well it works, but there it is:
http://github.com/gallery/gallery3-contrib/tree/master/modules/user_homes
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Sun, 2009-08-02 00:28

err, um nevermind. Looks like that module needs a bit of polish or lots of features added. It doesn't automatically create albums, it also doesn't do anything about permissions. Just allows you to manually set, for each user, which album they get directed to upon login.

Useful, yes, but you've got to create the album and set the permissions before hand.
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Sun, 2009-08-02 19:26

The code to create the album and set the permissions is probably like 10 lines of code. Talk to the module author, maybe he'll be willing to augment it.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git | help! vote!

 
durchsetzung

Joined: 2009-08-01
Posts: 7
Posted: Mon, 2009-08-03 11:18

bharat. are you the author of the "user home" module?

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2009-08-03 13:22

No, he's not. Someone named Glooper in the forums is the author. http://gallery.menalto.com/node/89013
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
durchsetzung

Joined: 2009-08-01
Posts: 7
Posted: Mon, 2009-08-03 16:12

O.K. thx. I think have to upgrade my installation to experimentel before i can install the module
and contact glooper.