Support » Themes and Templates » Custom User Roles has no permissions.

  • Hi everyone,

    I have the following code in my theme for a site I’m working on:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    These are two pretty simple user roles, almost like the editor and author, with some minor differences.

    The issue is that I created a test_publisher, and when I attempt to log in with that account I get the “You do not have sufficient permissions to access this page.” page.

    I have no idea why this would be. I can log in to the site as my administrator, but my test_publisher gets this. I’m quite frustrated by this and would love to get it figured out, however, I have no idea how to fix this, as the code should be pretty straight forward. I attempted to move the code into a function that is called on the “init” hook, but that didn’t work and now I am just losing my mind.

    If anyone could help me out here, I would really appreciate it.

    Thanks,

    –d

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom User Roles has no permissions.’ is closed to new replies.