Please login or register.
Login with username, password and session length
May 26, 2013, 01:19:13 AM
News: We're back! And here to stay!
collapse

* User Info

 
 
Welcome, Guest. Please login or register.
Did you miss your activation email?

* Recent Posts

you must provide a description by kasix
[May 24, 2013, 11:48:59 PM]


Fatal error: by mailtobala04
[May 17, 2013, 04:36:20 PM]


Backend Items (Images) don't work by bauchinj
[May 15, 2013, 04:18:55 PM]


Permissions issue: a user can upload images in other user galleries by guidocx84
[May 11, 2013, 05:17:44 PM]


Payment after loggin by mirjam
[May 11, 2013, 03:02:56 PM]


image titles without dashes by mirjam
[May 11, 2013, 02:57:48 PM]


Batch Upload Fails by mirjam
[May 11, 2013, 02:52:08 PM]


Slow Gallery with many Photos by mirjam
[May 11, 2013, 02:49:36 PM]

Advertisement


Pages: [1]   Go Down

Author Topic: How to allow users to manage galleries via frontend?  (Read 415 times)

Offline Arrrrvis

  • Newbie
  • *
  • Posts: 1

How to allow users to manage galleries via frontend?
« on: May 15, 2012, 06:25:52 PM »
Hi! I'm a first time rsgallery user, and quite new with joomla as well. I am stuck and would appreciate some help.

At the moment, the only way I have managed to do what I want is by creating a dummy gallery via backend, and adding all permissions for registered users for that gallery. Doing that allows every user to perform every action on every gallery. I know this is just plain wrong.

Components -->RSGallery2 -->Control panel -->my galleries --> show my galleries = "true"
When I do this, registered users get a new option "my galleries" in the gallery section, but there is no option to create a gallery, or edit an existing one.

What I want to achieve:
Every registered user is able to create/edit his own galleries and see galleries of others.

I know this can be fixed by setting proper permissions. But I can't seem to find them , without creating a dummy gallery.

I have looked at this documentation version,
http://downloads.joomlacode.org/frsrelease/7/2/5/72538/RSGallery2_documentation_20120214.pdf
And this topic:
http://www.rsgallery2.nl/rsgallery2_2.x_bugs_problems/cannot_upload_front_end_16805.msg43843.html#msg43843

Versions:
rsgallery 2.3
Joomla 2.5

Thanks in advance!

Offline mirjam

  • Dev Team
  • Hero Member
  • *****
  • Posts: 558

Re: How to allow users to manage galleries via frontend?
« Reply #1 on: May 16, 2012, 11:43:27 AM »
You've got the basics set up:
- A gallery is created in the backend
- For that gallery you've set permissions
- Frontend My Galleries is enabled

The general permissions for Joomla 2.5 are explained here: http://docs.joomla.org/ACL_Tutorial_for_Joomla_1.6, so reading that might help you with Permissions. RSGallery2 has some extra permissions that work in a similar way.

There are three places where you can set permission for RSGallery2, they are for three "levels".
- Component: Backend > Components > RSGallery2 > Control Panel > toolbarbutton: Options
- Gallery: Backend > Components > RSGallery2 > Gallery > [Edit a gallery] > Click "Set Permissions" (only visible when the user is allowed to change permissions)
- Items: Backend > Components > RSGallery2 > Items > [Edit an item] > Click "Set Permissions" (only visible when the user is allowed to change permissions)

Permissions are inherited: items inherit them from the gallery they belong to, subgalleries inherit them from the gallery they belong to, galleries inherit them from the permissions set in the component level. And if it's about the core Joomla permissions (e.g. Configure permission at component level) it is inherited from the Global settings (Backend > Site > Global Configuration > Permissions).

For example, the vote and comment permissions are RSGallery2 permissions, they can be set on component level and on gallery level (not on Item level).

In the Control Panel there are two Help buttons (Backend > Components > RSGallery2 > Control Panel > Help (the left one)). The left Help button (could not find how to give that one a different name while having this "Help screen" behaviour) offers some RSGallery2 ACL Help.

For example: you want a user to be able to create a gallery in the frontend. Then the user should have "Create" permission" on either the component level or "Create Permission" for a gallery in which this user is allowed to create galleries (however, if on Component level create permission is explicitly denied, you cannot allow it 'down the inheritance tree').

Exactly what you want to achieve, user only allowed to create/edit own galleries/items, is not possible with RSGallery2 3.1.0, however, it will be available in a next version. You can already try that with the latest "Nightly Build". See this post: http://www.rsgallery2.nl/nightly_builds_rsgallery2_joomla_1.61.72.5/what_will_be_new_next_version_posting_guidelines_download_16673.msg43927.html#msg43927 (a Nightly Build with SVN number higher than 1072 will do). I'd love some feedback on this ;-)

This possibility of using a permission to "Edit own" or "Create own" allows the administrator to set things up that in the frontend My Galleries (not the backend, that's not implemented yet!) users can create galleries in galleries they own and create (upload) items in galleries they own and edit items/galleries they own.

Now, hopefully this info will get you started. If you have any more questions you know where to ask...

(By the way: it's good to mention the complete version number, so not RSGallery2 v3, but v3.1.0 and not Joomla 2.5 but 2.5.4.)
Suddenly on maternity leave: our baby boy was born a few weeks early, he's doing well now.
For the next couple of weeks I won't available, for true emergences pm locutusweb please.

I hope that RSGallery2 users will help each other out in the mean time.
Pages: [1]   Go Up