Okay
  Public Ticket #3651821
Managing group of employees
Closed

Comments

  •  1
    Axel started the conversation

    hello. I’m wondering how a manager of a certain group of employees can add/remove or just remove employees they have access to. I’m cooperating with a company that has a set of employees through my site in Amelia. The Amelia manager role doesn’t work since they can access all settings and all employees. Let’s say 40 out of 100 employees in Amelia needs to be managed by an account and no insights to economics and other settings can be visible. How do I do that? I tried creating a form to a webhook where a http request finds an employee and deletes them if an employee matches an email address put into the form but it didn’t work. Amelia API includes only bookings and events and no employee management so it won’t work. Can I tweak the functionality of an Amelia manager or create several of these roles? Or how do I give access to staff management only? 

  •  702
    Stefan replied

    Hello Axel,

    Thanks for reaching out to us. These are some permissions that can be enabled per user role (for example employee) but, unfortunately, these permissions are applied to user roles in general. In other words, there is no option to exclude one or a couple of employees from seeing or not seeing a set of options and such. You can edit these permissions with third-party plugins such as User Role Editor, but yet again, these are applied to user roles in general.  Unfortunatelly, currently, there is no option to change this with API or such. You can enable or disable the role permission in User Role settings. 

    I hope i cleared a bit.

    Kind Regards, 

    Stefan Petrov
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1
    Axel replied

    But is it possible to restrict access to parts of Amelia like economy insights etc so that the Amelia manager role can only access the employee settings in Amelia and nothing else with this plugin?

  •  702
    Stefan replied

    Hello Axel,

    There are some permissions already configured for user roles, you can find more information regarding them on this link, but you can edit them for each user with the third party plugin such as User Role Editor. This plugin will let you edit the read and write permissions for each feature, so you can edit it according to your needs.

    Kind Regards, 

    Stefan Petrov
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •  1
    Axel replied

    But how come that all roles have insights to finance and no role can remove employees? Isn´t that extremely weird? I found all the code for the capabilities but when I create an exact copy of lets say the amelia manager it doesnt work so I guess you have restricted this. I tried both coding it and using the role editor plugin. I want to add amelia_delete_employees and remove the amelia_read_finance at least. Could you assist in this further?

  •  702
    Stefan replied

    Hello Axel,

    User Role Editor is third party plugin and Amelia is not integrated with this or any other types of this plugins. By default, The “Amelia Manager” role has almost the same permissions as an “Administrator” role, but with a few important differences. A manager is allowed to hide but not delete anything; a manager cannot customize the front-end look of the plugin and doesn’t have access to the WordPress settings. But, if you enable the permission "amelia_delete_employees", all user with the Amelia Manager user role will have the option to delete the employees from the WP backend.

    7642208955.png

    Yet again, this is applied to all user with this user role, and you can't separate or make unique accounts that would have one set of permissions.

    Kind Regards, 

    Stefan Petrov
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables