• Resolved Retrofitter

    (@retrofitter)


    Hi, can anyone tell if it’s possible to assign a custom capability to a user and automatically have that specific capability assigned to the user on all sites in a multisite install?

Viewing 7 replies - 1 through 7 (of 7 total)
  • snowboardmommy

    (@snowboardmommy)

    I am pretty sure you will have to use a (multisite compatible) role scoping plugin for this. or write a function/plugin to do it yourself. halfelf.org has a couple good multisite ebooks and may have a plugin recommendation for you there. HTH

    Thread Starter Retrofitter

    (@retrofitter)

    A plugin would be fine – just haven’t found one, that suited our needs.

    Maybe I should elaborate a bit on the scenario, that we’re considering.

    We’re planning a network of sites. Some with paid content. Some with free content.
    When a user registers/logs into a site, we want him/her to be logged into all sites and have a profile on all sites. That doesn’t seem to be a problem.

    But we also want to present specific content to user, when they enter a new site in the network. An example could that a user, that has registered on site B, enters site A (with paid content) he is presented with special offer, maybe reduced subscription fee, maybe an ad or maybe the user is able to see parts of the content.

    Buying a plugin or maybe even having one developed would not be a big obstacle, but we would appreciate opinions on, whether it is doable within reasonable limits – we don’t want to rewrite core or anything like that.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Eeeeh. Yes.

    https://www.ads-software.com/plugins/user-role-editor/ can do that. BUT … but but.

    It is SO easy to kill your site’s access with that stuff :/

    Thread Starter Retrofitter

    (@retrofitter)

    Thanks, for the answer, Ipstenu

    Sorry, I didn’t see until now.

    I’m not completely sure, that I understand, what you’re saying.

    Would the approach be inherently insecure, or do we just need to be extremely careful,

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    It’s not insecure. it’s just hard to fix if you screw it up.

    jkhongusc

    (@jkhongusc)

    We are using User Role Editor. I want to confirm that it will do what you want. It works well with our WP multisite. Let me warn you that the plugin is very powerful and you need to be very careful using it. I would like to warn against setting things back to default with URE. If you use other plugins that modify roles or capabilities, URE could wipe out all those customizations.

    Thread Starter Retrofitter

    (@retrofitter)

    Thanks everybody. I’ll look closer at user role editor.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Capability across multisite’ is closed to new replies.