Joomla! Discussion Forums



It is currently Mon Nov 23, 2009 11:04 pm (All times are UTC )

 


Forum rules

Global Rules
Additional Rules for this forum <------- Please read before posting



Post new topic Reply to topic  [ 7 posts ] 
Author Message
Posted: Thu Apr 09, 2009 11:07 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Apr 09, 2009 10:56 am
Posts: 3
Hi all,

First of all, let me congratulate NoixACL developers for their fantastic component. I won't say it has saved my life, but my site !

Anyway, I have a problem that might be a bug or simply something impossible to do.

I would like to manage multiple publishers who will not create and edit the same articles.
I have created sections and categories for each "publisher family" and finally installed NoixACL in order to restrict access and rights.

I have decided to create "sub-publishers" usertypes which parent group is "Publisher". I thought that these new types would inherit the rights of type "Publisher" then I could filter the access.

But it didn't ! Everything is correctly filtered and my users can not go where they do not have to be. But nobody can edit articles, even the creators !

What was wrong in my customizing ?

Thank you very much in advance if you can help me.

Cheers
Bonobo


Top
  E-mail  
 
Posted: Thu Apr 09, 2009 3:25 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Dec 21, 2005 1:56 pm
Posts: 888
Location: Fortaleza-CE
bonobo_1er wrote:
Hi all,

First of all, let me congratulate NoixACL developers for their fantastic component. I won't say it has saved my life, but my site !

Anyway, I have a problem that might be a bug or simply something impossible to do.

I would like to manage multiple publishers who will not create and edit the same articles.
I have created sections and categories for each "publisher family" and finally installed NoixACL in order to restrict access and rights.

I have decided to create "sub-publishers" usertypes which parent group is "Publisher". I thought that these new types would inherit the rights of type "Publisher" then I could filter the access.

But it didn't ! Everything is correctly filtered and my users can not go where they do not have to be. But nobody can edit articles, even the creators !

What was wrong in my customizing ?

Thank you very much in advance if you can help me.

Cheers
Bonobo


Hi Bonobo,

Now you cant make a rule "nobody can edit articles, even the creators !" but i will implement in Adapter Content ok?

_________________
noixACL - Take Control of your Joomla! http://extensions.joomla.org/extensions/access-&-security/group-access/7010/details
Tutorial - How to install


Top
  E-mail  
 
Posted: Fri Apr 10, 2009 6:07 am 
Joomla! Fledgling
Joomla! Fledgling
Offline

Joined: Thu Apr 09, 2009 10:56 am
Posts: 3
Hi Joomila,

Thank you for replying so fast !!!
Well, do what you suppose to be the best ^_^.

Anyway, I have found another way to solve my problem : editing the authorization file. I write my method if it can help someone.

1 - Go to "root/www/libraries/joomla/user/authorization.php"
2 - Edit the file
3 - Find the following line:

$this->addACL( 'com_content', 'publish', 'users', 'publisher', 'content', 'all' );

4 - Add following lines just after

$this->addACL( 'com_content', 'publish', 'users', 'YOUR GROUP', 'content', 'all' );
$this->addACL( 'com_content', 'add', 'users', 'YOUR GROUP', 'content', 'all' );
$this->addACL( 'com_content', 'edit', 'users', 'YOUR GROUP', 'content', 'all' );


All will work fine after that !

Thanks again.

Bonobo


Top
  E-mail  
 
Posted: Sat Apr 11, 2009 3:28 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Dec 21, 2005 1:56 pm
Posts: 888
Location: Fortaleza-CE
bonobo_1er wrote:
Hi Joomila,

Thank you for replying so fast !!!
Well, do what you suppose to be the best ^_^.

Anyway, I have found another way to solve my problem : editing the authorization file. I write my method if it can help someone.

1 - Go to "root/www/libraries/joomla/user/authorization.php"
2 - Edit the file
3 - Find the following line:

$this->addACL( 'com_content', 'publish', 'users', 'publisher', 'content', 'all' );

4 - Add following lines just after

$this->addACL( 'com_content', 'publish', 'users', 'YOUR GROUP', 'content', 'all' );
$this->addACL( 'com_content', 'add', 'users', 'YOUR GROUP', 'content', 'all' );
$this->addACL( 'com_content', 'edit', 'users', 'YOUR GROUP', 'content', 'all' );


All will work fine after that !

Thanks again.

Bonobo


I think you can set this permission in adapter content. If not i fix this in next version of this adapter.

_________________
noixACL - Take Control of your Joomla! http://extensions.joomla.org/extensions/access-&-security/group-access/7010/details
Tutorial - How to install


Top
  E-mail  
 
Posted: Sat Apr 25, 2009 12:43 am 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Oct 15, 2006 10:17 pm
Posts: 70
This hack works perfect here too :D

_________________
Looking for an ABSOLUTE form management component ? Get QuickForm :)
http://quickform.darkoline.com/index.php/Accueil
http://qf.darkoline.com/
under GPL licence.


Top
  E-mail  
 
Posted: Sun Apr 26, 2009 3:04 pm 
User avatar
Joomla! Guru
Joomla! Guru
Offline

Joined: Wed Dec 21, 2005 1:56 pm
Posts: 888
Location: Fortaleza-CE
In next version you dont need this hack anymore.

:)

Now working in access adapter he control all access from core rules from joomla you can control:
- login backend
- login frontned
- edit user
- manage user
- manage poll
- manage config
- manage media
- manage frontend content own
- manage frontend content all
and more...

_________________
noixACL - Take Control of your Joomla! http://extensions.joomla.org/extensions/access-&-security/group-access/7010/details
Tutorial - How to install


Top
  E-mail  
 
Posted: Sun Apr 26, 2009 3:22 pm 
User avatar
Joomla! Intern
Joomla! Intern
Offline

Joined: Sun Oct 15, 2006 10:17 pm
Posts: 70
Sounds great !
Hope to test it soon :)

_________________
Looking for an ABSOLUTE form management component ? Get QuickForm :)
http://quickform.darkoline.com/index.php/Accueil
http://qf.darkoline.com/
under GPL licence.


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

Quick reply

 



Who is online

Users browsing this forum: Baidu [Spider], rasterblaster and 20 guests


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 © 2000, 2002, 2005, 2007 phpBB Group