About permissions

ReApErFTW

Joined: 2010-10-23
Posts: 3
Posted: Sat, 2010-10-23 04:10

Alright, here's my deal.

What I want is for multiple users of the same group to be able to add albums and add pictures to those albums, but be unable to mess with other users' albums. I also want for everyone's albums to be at the root of the gallery, not something like each user has their own album and they can add albums within their own albums. Is this possible?

Thanks a ton. I have looked around a ton, to no avail.

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Tue, 2010-10-26 04:17

It should be easy to write a 3rd party module to allow this, but as far as I know nobody has written one yet. Basically, the module would just let a user add their own album and then set permissions appropriately on newly created albums.
---
Problems? Check gallery3/var/logs
bugs/feature req's | upgrade to the latest code | use git

 
ReApErFTW

Joined: 2010-10-23
Posts: 3
Posted: Thu, 2010-10-28 03:41

Anyone feelin' up to the task? ^.^

I'd really appreciate it and it would be for a good cause (a puppy rescue)!

 
rjenkins

Joined: 2010-10-29
Posts: 1
Posted: Fri, 2010-10-29 03:25

It seems like the missing element here is an "owner" attribute.

I have tried the user_albums module, and it gets around the problem by creating a group for every new user. This seems like it will get unwieldy if one adds more than a handful of users.

By making an "owner" element, one could assign viewing and/or edit rights to a folder based on "Everyone," "Group(s)," and "Owner."

So, it would make sense to me for that module to create a new user, create a folder based on that user's name off the root, give view access to everyone, and give edit/add access to that user.

Haven't figured out a way to do this, yet...

 
ReApErFTW

Joined: 2010-10-23
Posts: 3
Posted: Fri, 2010-10-29 06:34

This is unrelated, but any help just getting a hyperlink into an album description? Seems like it'd be something easy to find the answer to, but neither the search here nor Google is helping me out. Thanks.

EDIT: I suppose I should note that I've tried <a href="asdfasdf">link</a>. No good.

EDITEDIT: Figured it out. For future reference, from what I gathered, HTML is disabled for security purposes. I installed the purify module, all is well.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Fri, 2010-10-29 16:37
Quote:
This is unrelated,

And thus should have it's own thread. In the future, please start a new thread for any change of topic or new questions. Otherwise it makes it very difficult for someone else looking for an answer to find it.

Install the HTML Purifier module, you can download it here: www.gallerymodules.com

http://codex.gallery2.org/Gallery3:Modules:purifier
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here