Employees authorized to add and edit employees global config parameter

Hello Experts,


I have attempted to customize a global config parameter in Web Designer for 'Employees authorized to add and edit employees', by default it is an empty string and I have set it to a simple query:

"uid_person in (select UID_Person
                from person
                where Lower(CustomProperty09) = 'staff' Or Lower(CustomProperty09) = 'faculty')"

based on my requirement where any employee in the organization should be able to request to create an account through Web Portal.

However, my custom query doesn't seem to have any effect, even if I just limit it to one specific person and limit it by PersonnelNumber. It seems to have some kind of hard coded behavior to where as long as logged in person is either a manager or department manager they can add user accounts.

My question is has anyone figured out a way to change it, do I need to modify something else in conjunction with a query I am already modifying. I am just confused what is the purpose of this config parameter if it is truly a hard coded behavior in Web Designer?

Thanks,

Sergei Shvets

Parents
  • It didn't work, but after playing with it for a while I think I figured out that the query config parameter actually worked from the start. I might be wrong, but I think the query config parameter is only responsible for showing 'People' tab in Web Portal and has nothing to do for enabling a button 'Add a new employee'. After looking at the properties of the button itself I am seeing a property called 'Active' and it has a function --- caninsert("person"), I think that is what determines whether the button is active or not which is essentially whether you can start the form for new user creation. Haven't figured out where it is defined or how to change it but I think that's what needs to be modified.

    Thanks,

    Sergei Shvets

Reply
  • It didn't work, but after playing with it for a while I think I figured out that the query config parameter actually worked from the start. I might be wrong, but I think the query config parameter is only responsible for showing 'People' tab in Web Portal and has nothing to do for enabling a button 'Add a new employee'. After looking at the properties of the button itself I am seeing a property called 'Active' and it has a function --- caninsert("person"), I think that is what determines whether the button is active or not which is essentially whether you can start the form for new user creation. Haven't figured out where it is defined or how to change it but I think that's what needs to be modified.

    Thanks,

    Sergei Shvets

Children
No Data