I have a role "Editor" who has permissions to use Filtered HTML.
Filtered HTML can use CKEditor.
Users with role "Editor" don't see CKEditor.
What other permissions should I check?

Comments

twod’s picture

Status: Active » Postponed (maintainer needs more info)

Wysiwyg doesn't use any permissions for the editors, the format being available for a role is enough.

Can any other roles use the editor?
Have you enabled any buttons for the editor?
Are there any JavaScript errors?
Tried a different theme? Some custom themes don't print the $closure variable which holds one of Wysiwyg's scripts.

upupax’s picture

Roles with higher permissions can use the editor.
I get no js error and the theme is the default one provided by drupal 7.

I have enabled many buttons: could be something related to permissions on a single task/button?

twod’s picture

Component: Editor - CKEditor » Code

Is "Filtered HTML" the only format "Editor" has access to? Perhaps #950216: No editor for singular filter format missed something.
Is the same issue present in 7.x-2.x? If so, please bump the version number here.
Since the editor appears to be working fine for other users, I don't think this is specific to the CKEditor implementation or its plugins since they don't do permission checks either.

sun’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Sorry, without further information this issue can only be closed as not reproducible.

Feel free to re-open this issue if you want to provide further information. Thanks.

michaelfavia’s picture

For posterity sake this was probably not caused by a permission issue but instead caused by a JS error that is preventing you form loading the editor.

In my case it was because I was in "overlay" mode as your simple user and not as your admin user (or some other role based JS error). This can be confirmed by opening up your JS console and looking for errors when you edit the page as the editor.

If you have come to this issue recently that error is probably this one: #1129178: DHML Menu JavaScript bug - attempting to call $.replace() on an undefined element which can be solved by the patch there or the one referenced in the last comment on: #1176834: "Expand on Bullet" not working. Hopefully one of these fixes gets rolled into dev soon.

dazz’s picture

Version: 7.x-2.0 » 7.x-2.1
Priority: Normal » Major
Status: Closed (cannot reproduce) » Active

I have the same problem. I thought it was a js problem but there aren't any errors shown in the console.

dazz’s picture

In my case it was the fault of an update of the better formats module.

#1687956: wysiwyg not shown when no permission to select text format

twod’s picture

Priority: Major » Normal
Status: Active » Closed (cannot reproduce)

Ok, reverting issue status.