When can custom capability be tested for?

Hi,
I have a quick question concerning custom capabilities. I introduced the following access levels:
- Unregistered user (i.e. not registered at all)
- Level 0: free but registered
- Level 1: yearly payment
- Level 1 + custom capability "newsletter": yearly payment, different from Level 1
I am only running the site on my local machine for now, and I created test users for Level 0 and Level 1. I was not able to create a user for Level 1 + ccap="newsletter" (please advice on how to do that without actually going to Paypal), but I was testing for Level 1 + ccap="newsletter" for some pages and content. I noticed that nothing showed up for such tests.
Therefore I would like to check if I am correct in my assumption: an access level and/or custom capability can only be tested for if at least 1 user exists that has such access?
Thank you, kind regards,
Steffen
I have a quick question concerning custom capabilities. I introduced the following access levels:
- Unregistered user (i.e. not registered at all)
- Level 0: free but registered
- Level 1: yearly payment
- Level 1 + custom capability "newsletter": yearly payment, different from Level 1
I am only running the site on my local machine for now, and I created test users for Level 0 and Level 1. I was not able to create a user for Level 1 + ccap="newsletter" (please advice on how to do that without actually going to Paypal), but I was testing for Level 1 + ccap="newsletter" for some pages and content. I noticed that nothing showed up for such tests.
Therefore I would like to check if I am correct in my assumption: an access level and/or custom capability can only be tested for if at least 1 user exists that has such access?
Thank you, kind regards,
Steffen