• Hello!

    We run a WordPress multisite instance and users can select their sitewide privacy to:

    a) Public
    b) Only allow users who login (e.g. anyone at our institution).
    c) Only allow users that the site owner (admin) specifies.

    Is there a way to set up a site that allows for all three levels of access to certain areas of the site.

    eg. A public area, an area where anyone at the institution can view, and an area that only named individuals can enter.

    We have the UAM plugin installed which allows us to divide registered users for the site into groups and therefore only give access to the appropriate site section. Leaving pages that are not group restricted open to the public.

    But how can I implement a policy whereby if any other existing user of our multisite instance can self-register for the site and gain automatic access to areas that are appropriate?

    Best wishes,

    David

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    It could be managed with custom roles, or by altering capabilities of an existing role. You’d then specify which role registered users get by default in settings. The extra access can be managed by a different role that’s manually assigned by an admin. There are a few roles and capabilities plugins that’ll help you set these up.

    I’m not sure how the UAM plugin manages access. If by capability, the above will mesh perfectly. But you’d need to know what those capabilities are. If access is via some other mechanism, what ever that is could be assigned to users when they register by using an appropriate action hook. To interface well with the plugin, you should ask in its dedicated support channel how to best do this.

    Setting aside what the plugin does, utilizing custom roles and capabilities to manage access the WP way would involve different post types for different access levels. Post queries would be modified to include appropriate post types based on user role.

Viewing 1 replies (of 1 total)
  • The topic ‘Access management’ is closed to new replies.