The Joomla! Forum ™






Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Sat Apr 21, 2012 8:32 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Apr 21, 2012 8:13 pm
Posts: 4
Hello guys,

I have a problem, please.. maybe someone can help me? Thank you a lot in advance!

I quite understand whole ACL concept, but some "advanced" things are still unclear for me. Is it somehow possible to allow users to create articles in particular category (I have this solved) but at the same time deny them to edit category itself (i mean changing category name, description etc) + at the same time don't allow them create sub-categories in that category?

It looks like when user has CREATE permission in category (to create articles within that category), he is also able to create sub-categories within that category.

Thank you a lot!


Top
 Profile  
 
PostPosted: Sat Apr 21, 2012 8:36 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
Editing from the front end or from admin ?

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
PostPosted: Sat Apr 21, 2012 8:40 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Apr 21, 2012 8:13 pm
Posts: 4
Hello, I mean editing from ADMIN (back end).

I want users to create articles only within category (this is already set).
But now the have also permission to edit that category (name / description / state..) and they can also create sub-categories of that category. This is what I want to avoid.

Thank you.


Top
 Profile  
 
PostPosted: Sat Apr 21, 2012 9:18 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
Set the permissions of a SubCategory for 'Registered' create Allowed
and
The the category below that as Registered create Denied

Front end menu item 'Create Article' set default Article

That will have the effect you are seeking when editing from the front end

Not sure if that can be that restrictive when editing from the admin.

('Registered' can also be a user Group with Registered as Parent)

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
PostPosted: Mon Apr 23, 2012 1:45 pm 
Joomla! Fledgling
Joomla! Fledgling

Joined: Sat Apr 21, 2012 8:13 pm
Posts: 4
Hello,

Thank you a lot for reply! All the editors infrastructure is now located on back-end, so maybe later I'll build front-end solution and try this.

Thanks again for help!


Top
 Profile  
 
PostPosted: Mon Apr 23, 2012 2:27 pm 
User avatar
Joomla! Master
Joomla! Master

Joined: Sat Apr 05, 2008 9:58 pm
Posts: 23363
Location: @Webdongle
If you set the Permissions correctly you do not need to allow access to backend for editing. Just have a menu item set to Registered(or a group that has Registered as parent) that is create. Logged in users who can click the menu will only be able to create or edit what they are allowed to do.

Setting up a demo now

Addendum
If you want to allow users into the backend and control which Categories they can create in Then:
  • Create your new users groups with 'Manager' as Parent
    (or set your current editing groups with 'Manager' as parent)
  • In your Top Category
  • In your Top Category Deny create/Edit/Delete/Edit own/Edit state
  • You can ... when you Create your sub categories allow for the relevant Group)
    (Remember Permissions are inherited downwards so if you have more than one level of child categories then ... put the lowest trusted first)
When a user logs in the backend they will see Articles Categories media manager and Edit profile. media manager options can be set to deny access if desired(but images can still be uploaded in the Article screen).

The user will be able to click the New button and create Categories but they can not set the new category to one that they do not have create Permissions.
The user can create an Article but can only set it to a Category they have create rights to.

The user can create new Top level categories and assign Articles to them but if you want full control then don't let them in the backend. Just allow them to edit from the front end.

_________________
http://weblinksonline.co.uk/joomla-faq.html


Top
 Profile  
 
PostPosted: Wed Apr 25, 2012 11:44 am 
User avatar
Joomla! Exemplar
Joomla! Exemplar

Joined: Thu Aug 18, 2005 8:43 pm
Posts: 7846
Location: New York
For any group you can set create to allow and leave edit at inherited deny or specifically deny them. Each of the permissions is idnependent of the others.
However edit.own is going to override a deny. If you don't want them to have edt.own everywhere it is better to leave that as soft deny and give it explicitly in just the categories you want.

People who can create articles in a category can also create categories. That's just part of the structure of the acl system.

_________________
So we must fix our vision not merely on the negative expulsion of war, but upon the positive affirmation of peace. MLK 1964.
http://officialjoomlabook.com Get it at http://www.joomla.org/joomla-press-official-books.html Buy a book, support Joomla!.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 



Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group