Okay
  Public Ticket #2892946
User Role Settings Overwritten After Amelia Update
Closed

Comments

  •  7
    Benjamin started the conversation

    Hi there

    This ticket is just to inform you about a small bug:

    I adjusted the user role for Amelia Manager with the plug-in Members, so that an Amelia Manager is able to delete bookings (what I think should by possible by default).

    That worked fine.

    But after updating Amelia to the newest version 4.2 this capability was deleted. It seems that with the update all capabilities that I granted with Members before the update, where gone.

    This is not a big problem, but a bit inconvinient, as all the manual work has to be done again.

    Maybe this is a known issue and can be fixed with a future update.

    Cheers, Benjamin


  • [deleted] replied

    Hi Benjamin!

    Thank you for letting us knowsmile.png

    As Role management plugins should store the permissions in the database, in wp_options table, we would like to get on fixing this immediately.

    Can you clone your website?

    If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files which you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.

    Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.

  •  7
    Benjamin replied

    Hi Ivana

    Thanks for your quick reply. Highly appreciated.

    I already changed the permission back to how it was before the update.

    Anyhow. This is what the settings look like now:

    s:16:"wpamelia-manager";a:2:{s:4:"name";s:14:"Amelia Manager";s:12:"capabilities";a:51:{s:4:"read";b:1;s:20:"amelia_delete_events";b:1;s:16:"amelia_read_menu";b:1;s:21:"amelia_read_dashboard";b:1;s:20:"amelia_read_calendar";b:1;s:24:"amelia_read_appointments";b:1;s:18:"amelia_read_events";b:1;s:21:"amelia_read_employees";b:1;s:20:"amelia_read_services";b:1;s:20:"amelia_read_packages";b:1;s:21:"amelia_read_locations";b:1;s:19:"amelia_read_coupons";b:1;s:21:"amelia_read_customers";b:1;s:19:"amelia_read_finance";b:1;s:25:"amelia_read_notifications";b:1;s:27:"amelia_read_others_calendar";b:1;s:31:"amelia_read_others_appointments";b:1;s:28:"amelia_read_others_employees";b:1;s:28:"amelia_read_others_customers";b:1;s:22:"amelia_write_dashboard";b:1;s:21:"amelia_write_calendar";b:1;s:25:"amelia_write_appointments";b:1;s:19:"amelia_write_events";b:1;s:22:"amelia_write_employees";b:1;s:21:"amelia_write_services";b:1;s:21:"amelia_write_packages";b:1;s:22:"amelia_write_locations";b:1;s:20:"amelia_write_coupons";b:1;s:22:"amelia_write_customers";b:1;s:20:"amelia_write_finance";b:1;s:26:"amelia_write_notifications";b:1;s:28:"amelia_write_others_calendar";b:1;s:32:"amelia_write_others_appointments";b:1;s:29:"amelia_write_others_employees";b:1;s:26:"amelia_write_others_events";b:1;s:27:"amelia_write_others_finance";b:1;s:29:"amelia_write_others_dashboard";b:1;s:32:"amelia_write_status_appointments";b:1;s:26:"amelia_write_status_events";b:1;s:30:"amelia_write_time_appointments";b:1;s:12:"upload_files";b:1;s:26:"amelia_delete_appointments";b:1;s:23:"amelia_delete_customers";b:1;s:23:"amelia_delete_employees";b:1;s:22:"amelia_delete_services";b:1;s:22:"amelia_delete_calendar";b:1;s:27:"gravityforms_delete_entries";b:1;s:29:"gravityforms_edit_entry_notes";b:1;s:27:"gravityforms_export_entries";b:1;s:25:"gravityforms_view_entries";b:1;s:29:"gravityforms_view_entry_notes";b:1;

    Please note, that I am deactivating the plugin, after the roles are adjusted.

    Could this be the problem?

    Cheers, Benjamin


  • [deleted] replied

    Hi Benjamin,

    it could be; as the roles "command" (the change) still comes from the plugin itself. If it remains active after the change is made, even for a short period of time, like 1h, does it work then?

  •  7
    Benjamin replied

    Hi Ivana

    I always deactivate the Members – Membership & User Role Editor Plugin after I changed the capabilites for different roles. I even delete it and the changes remain in the database.

    When the next Amelia update is here, I will update with the activated Members plugin, so I see if it works then. If not, I will come back to you. Is that okay?

    Have an awesome weekend!

    Cheers, Benjamin

  • [deleted] replied

    Hi Benjamin!

    Firstly, I would like to sincerely apologize for the delayed response as we have been experiencing an unusually high number of tickets. I am sorry that it has taken longer than usual to respond to your concern and your patience is highly appreciated.

    Sure, please do let me know when you have time; if a fix comes out in the meantime I will let you know!smile.png

  •  7
    Benjamin replied

    Hi Ivana

    This is to inform you, that Amelia has overwritten again the user role capabilities set for Amelia Manager through the plugin Members from MemberPress.

    What happens:

    1. I use the Members-plugin from MemberPress.
    2. I adjust the role of Amelia manager with the help of this plugin. I activate amelia_delete_appointments, amelia_delete_calendar, amelia_delete_events and amelia_delete_customers.
    3. I update Amelia to the newest version.
    4. Amelia overwrites (resets) all capabilities that I have set before.

    Amelia should leave the capabilities untouched when updateing to the newest version.

    Cheers, Benjamin

  • [deleted] replied

    Hi Benjamin,

    thank you for letting me know; I have reached out to our level 2 to check if there is an update on the issue, but I am awaiting for the response still.

    I will make sure to contact back as soon as they let me know.

    I wish you a great weekend; thank you so much for your patiencesmile.png

  • [deleted] replied

    Hi Benjamin!

    Can you clone your website?

    If yes - I'll ask you to install the Duplicator plugin. It will generate a couple of files that you can send me (along with the log-in credentials), and then I can create an exact copy of your website, see what the issue is and try to resolve it.

    The Duplicator plugin can export only up to 500MB of data, so if your site is bigger than that, please use the All-in-One WP Migration plugin.

    Please note that the files will be too large to attach to the ticket, so you can upload them via wetransfer.com and just send me the link.