Ability to allow users to create their own personal areas?

wittzi

Joined: 2011-07-02
Posts: 2
Posted: Sat, 2011-07-02 15:49

I've recently installed Gallery and am very impressed with it!

However, my question is whether or not you could have separate users that can create their own albums and add new users (for their specific space) within the framework. My example is as follows:

1. John registers and creates an album called My Family.
2. John creates 2 new users (his parents) and allows them access to the album.
3. Chris registers and creates an album called My Friends.
4. Chris creates 10 new users (his friends) and allows them to access the album.
5. Neither Chris knows that John exists and cant see his album, and John cant see Chris or his album.

In essence, can users be awarded their own space to create galleries that are separate to all other users?

I've done a search on the forum but can't see any similar topics and from playing about with the software only admins can create albums / users but all admins are within the same space so you could not have separate groups using the application.

Any feedback would be gratefully received!!!

 
tempg

Joined: 2005-12-17
Posts: 1857
Posted: Sun, 2011-07-03 13:45

Sounds complicated.

It'll be easiest to just create separate Gallery installs (use the same database, if you want) and link them with a static page.
You could use the externals or embeditem modules to give the static page more interaction with the galleries.
http://codex.gallery2.org/Gallery3:Modules:externals
http://codex.gallery2.org/Gallery3:Modules:embeditem

Other than that, you'll have to hack something together. You could use the userhomes module as a starting point.
http://codex.gallery2.org/Gallery3:Modules:user_homes

 
wittzi

Joined: 2011-07-02
Posts: 2
Posted: Sun, 2011-07-03 16:51

Thanks tempg. I can see what you're saying about modding the user_homes module so that's a massive help, thanks.

If I do manage to sort this out and get it working as I want I'll post the changes on the forum.

Of course, if anyone else has any ideas the more the merrier! ;-)

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Mon, 2011-07-04 05:19

1-4 can be done. with permissions with some administration manually doing some settings.

Quote:
5. Neither Chris knows that John exists and cant see his album, and John cant see Chris or his album.

This is the complex part. If your site is example.com and Johns url is example.com/John and Chris's is example.com/Chris then you could hide the root album example.com) but if there is no permissions set then it would be like me guessing the names of the other users.

I guess that #5 can be as well.... Just make John and Chris's albums only visible to the John group and the the Chris group respectively.
I guess it all depends how many John's and Chris's you expect to have. The UI for this is hard to do and is on the roadmap for the future.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team