• Resolved whoaloic

    (@whoaloic)


    Hi
    I need to enable users to get an extra role.
    The case is that registered users might request a vip role to access vip content.
    Is there any way to add a user an extra role with your plugin?
    Plus I need to notify users by email when their role have been updated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author AAM Plugin

    (@vasyltech)

    Hi @whoaloic,

    Unfortunately AAM does not support multi-role implementation due to access settings ambiguity. For example if Role A has access to Post A and Role B does not, then user who has both role should or should not have access to Post A? That is a tricky question to answers, so I’ve decided to avoid multi-role support for AAM plugin.

    Feel free to ask more questions.

    Regards,
    Vasyl

    Hi @vasyltech,

    Do you have any idea of the code parts to modify in order to get multi-role working ?
    I imagine that I have to modify the “getParent” method of AAM_Core_Subject_User by returning multiple parents. This also imply to modify the “interface” and every calls.

    In my case, the rule will be very simple : If you have multiple roles and at least one allow you to access a content, then you can access it. This feature could be a Settings to enable/disable in the AAM menu.

    Yours faithfully,
    Birmania

    Thread Starter whoaloic

    (@whoaloic)

    Thank you for the answer.
    So I need to find a way to upgrade user’s role and notify them by email in multisite network.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Enable multirole for user’ is closed to new replies.