customise who requests can be placed for in the Angular portal

Hi,

I would like to customise the configuration for who the logged in person can raise requests for. There is a configuration parameter for configuring this but I cannot see where in the Angular projects it is loaded and used.

I'd like to be able to configure the portal to support 2 use cases:

1. Logged in person can request for themselves and people they manage (handled out of the box) and

2. If logged in user is admin/member of a specific role then allow them to request for anyone

I have been through the Angular project and I can find a filter named "ownsubidentities" being passed to the fk-selector.component.ts as part of loading the Edit recipients sidesheet but I cannot for the life of me find where this is called.

Has anyone been able to achieve this type of change and can point me in the right direction?

Note we are running 9.0.3 version of the web project

Parents
  • Admin portal > Web Portal > Identities for which a request can be placed: The 'VI_ITShop_Filter_PersonOrderFor' is a ServerConfig implemented in the API Server. If you extend the 'VI_ITShop_Filter_PersonOrderFor' like below your use case should be covered. I think.

    uid_person IN (
    		SELECT uid_person
    		FROM QER_VEditEmployee
    		WHERE uid_personhead = '%useruid%'
    		)
    	OR EXISTS (
    		SELECT 1
    		FROM personinaerole
    		WHERE uid_person = '%useruid%'
    			AND uid_aerole IN (
    				SELECT uid_aerole
    				FROM aerole
    				WHERE fullpath = 'Request & Fulfillment\IT Shop\Request admins'
    				)
    		)

Reply
  • Admin portal > Web Portal > Identities for which a request can be placed: The 'VI_ITShop_Filter_PersonOrderFor' is a ServerConfig implemented in the API Server. If you extend the 'VI_ITShop_Filter_PersonOrderFor' like below your use case should be covered. I think.

    uid_person IN (
    		SELECT uid_person
    		FROM QER_VEditEmployee
    		WHERE uid_personhead = '%useruid%'
    		)
    	OR EXISTS (
    		SELECT 1
    		FROM personinaerole
    		WHERE uid_person = '%useruid%'
    			AND uid_aerole IN (
    				SELECT uid_aerole
    				FROM aerole
    				WHERE fullpath = 'Request & Fulfillment\IT Shop\Request admins'
    				)
    		)

Children
No Data