PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Give all custom capabilities to admin

s2Member Plugin. A Membership plugin for WordPress®.

Give all custom capabilities to admin

Postby dnesscarkey » September 7th, 2011, 1:30 am

I have different users with different capabilities.

And have assigned those capabilities to pages. So that only the user can see having the capability.

But now, i want my admin user to see it without restriction.

Is it possible? How can i do it?

I tried searching the forum but couldn't get the solution.
User avatar
dnesscarkey
Registered User
Registered User
 
Posts: 4
Joined: September 7, 2011

Re: Give all custom capabilities to admin

Postby Cristián Lávaque » September 7th, 2011, 4:01 am

The admin should not be affected by the s2Member restrictions. This was not happening with ccaps until recently. What s2Member version do you have? Please update to the latest.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Give all custom capabilities to admin

Postby dnesscarkey » September 7th, 2011, 4:22 am

I am using
s2Member Pro # Version: 110731
User avatar
dnesscarkey
Registered User
Registered User
 
Posts: 4
Joined: September 7, 2011

Re: Give all custom capabilities to admin

Postby dnesscarkey » September 7th, 2011, 4:23 am

I mean to say the user having Administrator role is unable to view the page.
User avatar
dnesscarkey
Registered User
Registered User
 
Posts: 4
Joined: September 7, 2011

Re: Give all custom capabilities to admin

Postby Cristián Lávaque » September 8th, 2011, 12:36 am

Got it. Could you please update to the latest version?

From the v110815 changelog:

(s2Member) Bug fix / Capabilities. When/if you require Custom Capabilities in order to view certain content sections on your site, s2Member was behaving properly in all cases, except for one specific scenario. When an Administrator of the site ( on a normal single-site installation of WordPress ), was attempting to test-view content protected with Custom Capabilities ( this scenario was causing a problem ). What was happening, is that s2Member was seeing that an Adminstrator did not have certain Custom Capabilities defined explicity in their account, and access was being denied ( that's actually, NOT right ). This was in conflict with the way that s2Member handles all other content protection routines with respect to Administrators. Administrators should automatically have access to all protected content, even if Custom Capabilities are not explicity defined in their account. After all, they are Administrators. In short, this release makes it possible for Administrators of a single-site WordPress installation, to have full access to all content; even when/if Custom Capabilities are required. This should help to prevent confusion for site owners just beginning to understand s2Member's functionality with respect to Custom Capabilities.
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: Give all custom capabilities to admin

Postby dnesscarkey » September 8th, 2011, 3:21 am

Thanks :)
User avatar
dnesscarkey
Registered User
Registered User
 
Posts: 4
Joined: September 7, 2011

Re: Give all custom capabilities to admin

Postby Cristián Lávaque » September 9th, 2011, 12:44 am

;)
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron