• Hi Mike,
    FYI-
    swimteam_add_default_capabilities functions.

    I was using one role that I created called “swimteam.” This allowed certain individuals to dump rosters and see certain lists because NOT all parents should get access to this info.

    I ran into issues when assigning the one role without the subscriber role included. The issue did not allow them access to other subscriber functions and areas in the website.
    This is what mine would looks like
    a:2:{s:8:”swimteam”;b:1;s:10:”subscriber”;b:1;}

    This is what your looks like
    a:1:{s:16:”swimteam_manager”;b:1;}

    I will test with your new role to see if it given the correct access.
    Some of my actions hide the tabs during swimteam overview.
    Also, some reports that I custom built for woocommerce.

    Do you know what areas your manager role will have access to and which the parent or swimmer will access? How much are you hiding?
    Thanks

    http://wordpress.org/plugins/wp-swimteam/

Viewing 1 replies (of 1 total)
  • Plugin Author Mike Walsh

    (@mpwalsh8)

    The roles I have defined don’t currently do anything however I will start playing with them. I suspect you’ll be more interested in the capabilities than the roles themselves. So far I think I have defined five (5) capabilites (run reports, register swimmer, manage swim team, admin swim team, etc.).

    In theory you should be able to assign one or more of these capabilities to specific users without having to change their roles. I need to play with it some more to make sure I fully understand it but I think I have a handle on it.

    I have also defined some roles which are clones of existing WordPress roles with some default Swim Team capabilities added as well.

    I will likely do a formal release before I do much more with roles and capabilities.

Viewing 1 replies (of 1 total)
  • The topic ‘Capibilities and Roles’ is closed to new replies.