Hi there

I am having a weird issue with the roles and user permisions.

I have create an editor user which it will be the editor of this site, I just want to give him permission to edit content and access webform results but not edit the forms.
After testing, this user is not allowed to edit some of the contents of the site but he is allowed to edit the webform forms.
Everything looks fine in the permissions conf page, it is like the roles are not listening to the permissions page.

Is this a bug? could anyone please give any kind of advice or guideline to solve this issue? should i install another module to handle the permissions???

Thanks in advence

Comments

machi27’s picture

I have enable the content_permissions module but nothing changes.
EDITOR role can still editing webforms and also can not edit some of the content types.
pls help.
I am using drupal latest version of drupal, miranelli theme, webform and other modules are updated.
pls help!!!

vikramy’s picture

Hello,

Can you be some more clear. It seems you are not able to edit some of content types. Can you name them? Or just go to permissions page and search for "Node module." In that you can see your content type permissions.

For example if you have "ABC" content type which you cannot edit for EDITOR role, Just search for "edit (own/any) ABC content" and enable that for your role. Hope this is what you want..

let me know if this helps..

machi27’s picture

Yes i did exactly what you just said,

i have 10 differents content types, one for each section of the web, and i have enable all of them (edit any/own) on the permission list for administer and editor, it is weird because for example on content type "ABC" the editor can edit some of the content which are "ABC content" but some other also called "ABC content" can not be edited by the editor.

I also have disabled the editor permission for edit any of the webforms but all webforms can be edited by Editor.

I have also added the permissions API, but i am still getting the same problem. Also tried to clear the site cache.

Thanks

machi27’s picture

I forgot to say that in my opnion this is related to the content types that have cck fields, so i enabled the content_permissions module and also set the permision to edit any of those fields but nothing happened
Thanls

vikramy’s picture

Hmm..

Can you just do this.
Disable content_permissions module.(If possible uninstall that)
Disable Permissions API module.(If possible uninstall that)
Clear cache.
Enable like what I said before..

Let me know if you can see any change..

machi27’s picture

I did it, didnñt have the chance to uninstal it.
It is sooo weird i am think that my drupal installation it gone mad or it is f...
for example I have content type ABC, content AAA and "BBB" are both content type "ABC", with the editor user I can edit the content "BBB" but i can not edit content "AAA". I can see the view and translate in both cases, but edit only in "BBB"
In some other content types I dont even have the view, translate options...

I think that somethings is gone with user permisions...

thanks again, i am gona keep looking for a solution and in final case i guess that i shud reinstall my drupal

vikramy’s picture

Sorry I am not able to help you much in this..

Some questions..

Who created "AAA" and "BBB" content? I mean is it admin or "EDITOR"?
Did you enable "edit any ABC content type" in permissions to "EDITOR" role?

May be I am wasting your time..

machi27’s picture

Thanks a lot for your help.

All contents were created by the admin and were rename as created by the editor. weird thing is that some of those content are editable by the editor and other are not.
And yes I enable all the roles for the Editor, and disable the edit roles for webforms module and that rule is not working either.
Do you think that i shud open an issue about this? i am very confuse, dono if I shud reinstall my drupal or maybe it is all about the theme that i am using???

Anyway thanks a lot

vikramy’s picture

I frankly don't know what to say.. but try switching to a basic theme and see how it goes..

Is you website accessible so that I can have a look at it.. (Am I asking too much.)

Good luck..

machi27’s picture

I have almost solved it, issue with editor role is fix
Now i am trying to solve the issue with webform.

Thanks a lot for your time

machi27’s picture

The issue that it was driving me crazy have been solved, it was all about the format of the content, I found the solution here http://drupal.org/node/360223
It took me all day to get there and 2 secs to fix it.

But i am still having the problem with the webform module, i just want to give to the editor the permission to view results and no editting, but is not working either, editor can edit eny webform...

I gues that i have to keep searching for the solution.

vikramy’s picture

Great News...Thanks for posting the solution.

Try just enabling this to "EDITOR" "access webform results". I think you might have enabled "edit ...... webforms". Disable all edit related to webforms and see how it goes..

Good Luck..

machi27’s picture

You mean on the permission for webform module or in any other place??
I have uncheck all the boxes (disable) except "access webform results" and "clear webform results", I guess that either i need to instal a module to handle this permits or webform has the own permissions page settings.
Thanks man, i really aprciate your interest in all this