• 0

Admin Priviliedges in DMS Editor


Question

Posted · Report post

I thought that any admin user could go to the frontend (in Chrome) and edit the DMS theme. But a client just asked for access to the design interface and when I gave his account admin status he was unable to see the viual editor. I logged in using his credentials and indeed his account cannot edit the DMS theme (even thought the WP bar at the top is displaying).

 

Suggestions?

Share this post


Link to post
Share on other sites

12 answers to this question

  • 0

Posted · Report post

in the fil wp-config.php you, or someone else added the EDITOR_LOCK code.

1 person likes this

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

A user needs to have the 'edit_theme_options' role.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Simon_P how do I edit this role?

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

You dont need to edit the role, the user has to have that role to use the editor. Creating a user and ticking the Administrator checkbox should be enough.

Unless you have been editing the roles/groups or are using some kind of members plugin.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Simon_P thanks... I have no permissions plugin installed and I have not edited permissions manually. WPBackup has permissions, but I've tested variations of that and deactivated the plugin, none of which help.

 

As I mentioned above, this user was an Editor and then I changed the account to Admin.  I've also attempted to create a new admin account and that one does not have permissions either.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

I can only suggest finding a user role editor plugin.

 

The default roles work perfectly.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Simon_P I don't believe this relted to core WP permissions. When I login using this account, I am able to access all the edit_theme_options features, including theme selection, editing, etc. 

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Right create an admin account for me and PM me the login.

 

Heres the code that enables the editor:

 

if( current_user_can('edit_theme_options') && $state != 'off' && $is_chrome )
return 'draft';
else {
return 'live';
}

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

You have PL_EDITOR_LOCK defined somewhere.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Simon_P I have no idea how this would happen nor do I know how to change. I've got several DMS site running and never encountered this issue.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Simon_P thanks, I was able to edit wp-config.php to open it up. Still nt sure how it got locked.

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Somebody must have added that snippet, there is no other way it can be added. DMS doesn't/can't add that line of code to your wp-config.php file.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now