Okay
  Public Ticket #2832551
User issue
Closed

Comments

  •  4
    Jeffrey started the conversation

    I just tried  to remove an employee which created from existing WP user who has an Amelia-employee role, after delete it and re-add it again, system tells this email is an existing email address and I cannot use it. I think it might not be a good idea. Since removing and re-adding a employee is a very common thing . Even delete a user, system should remove them from Amelia User table clearly. Otherwise, if re-adding again, we have to re-assign them another email, I think it might be a bug. Thanks

  • [deleted] replied

    Hi Jeffrey,

    thank you for reaching out to ussmile.png

    Have you managed to locate and delete the user? This is in case that you still may need the user but not the employee, but I do see the inconvenience now.

    Please let me know if you managed to unhook and delete them; if you want I can do so for you.

  •  4
    Jeffrey replied

    Thank you for the response, do you mean that I need to delete this WP user and re-add him/her as a WP user, then I add them as an Amelia provider to accomplish my purpose? if so, that may not be a good idea, because sometimes or some faulty operations may cause unexpected results. Hope you guys can consider this small flaw

  • [deleted] replied

    Hi Jeffrey,

    thank you for the kind reply!

    This would be technically the safest way to go because the WP user is created first and then an employee; and then you connect them. Did you face any issues in the past (besides now) where deleting a WP user caused some other problems?


  •  4
    Jeffrey replied

    Thank you for you guys considering my suggestion, however, I have used WP user role access module to set access for specific user roles for the panel page, other users will be redirected to WP user's login form, in that way, WP employee and Customer will not access Amelia's log-in form and will be forced to log in with WP login form. :)

  • [deleted] replied

    Hi Jeffrey,

    Have you been using the User Role Editor? It's convenient to change around some capabilities of different roles (unfortunately it cannot unify them for the panel, I'm afraid)

  •  4
    Jeffrey replied

    Lol, I set up the access for the page to only amelia-employee or amelia-customer roles, other users and guests will be redirected to a page with the login form, so if the amelia-employee and customer will have access to the panels' page, other users will not be there otherwise.

  •  4
    Jeffrey replied

    I am not using the User role editor, I am using Gamipress's restrict content addon. and setting access restriction for specific user roles, otherwise, redirect users to another page.

  •  4
    Jeffrey replied

    I have tested it many times, it works fine :)

  • [deleted] replied

    I'm glad it works Jeffrey, thank you for letting me know - asking because Role Editor can be useful but it cannot do a lot in that case (especially because Amelia can't recognize it's "custom" roles).

  •  4
    Jeffrey replied

    I have not yet test with User Role Editor, some of the membership plugins may work with these requirements, it is just a redirection if user role match presetting, allow it, otherwise redirect it