• Resolved leppto

    (@leppto)


    Hi!

    I’ve trouble with the plugin: our users are unable to add posts or pages with privileges of Editor or less when UAM is active. Only Admin privileges are working. If I disable the UAM plugin adding posts and pages are working as expected.

    With UAM active when Add is clicked the link returns page 302 ( this was investigated by Chrome developer tools )

    At the moment our WP version is 4.1, UAM is version 1.2.6.0 and Theme is Story, but this was not working with WP 4.0.1 and UAM 1.2.5 either.

    https://ww.wp.xz.cn/plugins/user-access-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author gm_alex

    (@gm_alex)

    I guess you have set some options wrong. The most common error is the misunderstanding of the role affiliation feature. Try to create a group with a single user and restrict only a single page/post and play a little with the options. See also https://ww.wp.xz.cn/plugins/user-access-manager/faq/

    Thread Starter leppto

    (@leppto)

    My setup should be fairly simple, but can you review where I have gone wrong:

    I have only two UAM user groups, here are the group settings:

    -Extranet (UAM group); read access:only group users, write access:all, role affiliation:”author,editor,subscriber”, ip range:none
    =>These users should not be able to add content and are allowed to access all content (including “extranet” content)

    -Intranet (UAM group); read access:all, write access:all, role affiliation:”author,editor,subscriber”, ip range:none
    =>These users should be able to add content and are allowed to access all content (including “extranet” content)

    UAM Author settings are:

    -Authors always has access to own posts/pages: Yes
    -Authors can add content to their own groups: Yes
    -Minimum user role with full access: Editor

    My WP Post Categories are:

    – Uncategorized:”Full access”
    – Memberarea; Access: “Extranet,Intranet”

    I have setup three special WP users:

    – member; WP role:subscriber, uam user groups:”Extranet”
    => this is working as expected: the user is able to read special “extranet” content

    – staff; WP role:Editor, uam user groups:”Extranet,Intranet”
    => this is not working as expected: the user is able to read special “extranet” content but is not able to add content

    – admin:
    =>this is working as expected: the user is able to read special “extranet” content and is able to add content

    Thread Starter leppto

    (@leppto)

    Hello Alex,

    I found the root cause of the problem and it does not have anything to do with your code. My predecessor has added a new check function to the plugin and it prevented all access to the backend if the user does not have admin rights.

    I apologize for the inconvenience.

    Plugin Author gm_alex

    (@gm_alex)

    No problem. Thanks for your feedback.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Unable to add posts unless Admin’ is closed to new replies.