Share » Forums » Setup & design » Roles and user 'drafts' help needed.

Roles and user 'drafts' help needed.

Roles and user 'drafts' help needed.

Tuesday 08 April 2003 3:38:58 am - 12 replies

Author Message

Tony Wood

Friday 11 April 2003 7:56:55 am

Has nobody else tried to lock down editors so they cannot see other users details?

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Bruce Morrison

Monday 14 April 2003 3:48:06 pm

Hi Tony

I came across this issue in RC2 and reported it via our support agreement. I was informed it was a bug. Unfortinually I didn't add it to the bug system (which I see you have) and I guess it slipped through the cracks. Definately one I'd like to see a fix for.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Brendan Pike

Monday 14 April 2003 6:58:01 pm

I've also been experiencing this issue, I also thought it was possible to allow editors to create other editors but I haven't been able to acheive this without also giving editors the right to create full admins.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Tony Wood

Tuesday 22 April 2003 1:50:33 am

Thanks for the feedback, I thought it was just me for a while :)

Any news from the eZ team?

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Sergiy Pushchin

Tuesday 22 April 2003 6:24:23 am

To fix proplem with drafts you need to add new line at kernel/content/module.php line 194.
"functions" => array( 'create' ),
after that modification user will be able to access draft if he is able to create smth. So to gave user access to his drafts you need to allow him to create smth.

Sergiy Pushchin

Tuesday 22 April 2003 6:30:46 am

To achieve this,
1. Create section called "Editor users section" or however you want to call it. and assign it to usergroup in which you have editors placed.
After that create policy for editors role which looks like this one:
content - create - Class( User),Section(Editor users section), ParentClass(User group)
I think this will solve problem.

Tony Wood

Tuesday 22 April 2003 6:42:40 am

Thanks for this... I had everything setup for Editors but had added an extra "Content * *" I removed this and made the patch you posted and it works well now

Thanks :)

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Jonny Bergkvist

Wednesday 23 April 2003 4:28:17 am

I have tried to make a section for this purpose, but when I try to assign the section to a user-group I run into problems, because I can only browse in the normal folders-structure. The user-groups are hidden from section->assign.

Have I forgotten anything?

Jonny Bergkvist

Tony Wood

Wednesday 23 April 2003 4:43:26 am

If i understand correctly, I think you need to use Roles to define what areas users have access to.

Tony Wood : twitter.com/tonywood
Vision with Technology
Experts in eZ Publish consulting & development

Power to the Editor!

Free eZ Training : http://www.VisionWT.com/training
eZ Future Podcast : http://www.VisionWT.com/eZ-Future

Sergiy Pushchin

Wednesday 23 April 2003 4:59:43 am

There is a hidden fiture (actually a bug). When you go to browse page you need to change '2' in url to '5' which is top level node for users. After that you browse users not coontent.

Bruce Morrison

Wednesday 23 April 2003 4:52:44 pm

> To fix proplem with drafts you need to add new line at
> kernel/content/module.php line 194.
> "functions" => array( 'create' ),

OK I added this ...

> after that modification user will be able to access draft if he is able to
>create smth. So to gave user access to his drafts you need to allow
> him to create smth.

I take it that I have to add a permission to the role the user belongs to. But what is "smth"????

Can you please give an example of the permission that is required?

Thanks
bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Sergiy Pushchin

Thursday 24 April 2003 1:26:34 am

smth. is something.
If role has one policy that allows to call create function, it will give user access to the drafts.
content-create-Class( Folder )
or
content-create-*
content-create-ParentClass(Folder),Class(Article)

--SP

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu