You are viewing this site as a guest. You can still ask questions and help others! Join our Dev2Dev IT Community to receive your own blog, share your knowledge, and much more.

How to remove/disable access to 'User Profile' component for certain users?

15 replies [Last post]
Guest's picture
Guest

How to remove/disable access to 'User Profile' component (USERMAINT) (navigation :- PeopleTools -> Security -> User Profiles) for certain users in PeopleTools 8.48?

Thanks in advance for your help.

Ashar's picture
User offline. Last seen 4 years 48 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: How to remove/disable access to 'User Profile' component ...

This is a very basic security stuff.. u need to restrict the access in roles/permission list.

Guest's picture
Guest (not verified)
Re: How to remove/disable access to 'User Profile' component ...

Could you please let me know how to restrict the access to 'User Profile' component only for certain users?

Ashar's picture
User offline. Last seen 4 years 48 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: How to remove/disable access to 'User Profile' component ...

You need to remove the particular roles (which gives them the access to user profile component) from their user profile.

Lepa's picture
User offline. Last seen 2 years 14 weeks ago. Offline
Joined: 06/23/2008
Posts: 591
Re: How to remove/disable access to 'User Profile' component ...

permissions are assigned to roles and roles are assigned to users. Permissions in return are assigned to components, so if you don't want a group of users to see a component, simply don't assign that permission list to the component.

Give back to the community and help it grow!
* Help with unanswered forum questions and issues
* Register or login to share your knowledge at your own blog

Guest's picture
Guest (not verified)
Re: How to remove/disable access to 'User Profile' component ...

Thanks for the information.

I removed the relevant role(s) from the user and cleared the browser cache. But the user is still able to navigate to the 'User Profile' component and make modifications.

Could you please let me know if the Appserver Cache needs to be deleted for the changes to take affect ?

Ashar's picture
User offline. Last seen 4 years 48 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: How to remove/disable access to 'User Profile' component ...

are the able to access it? some times even if you remove the roles, links still appear but when they click on the link it will say "Not Authorized"

Guest's picture
Guest (not verified)
Re: How to remove/disable access to 'User Profile' component ...

The user is able to access the 'User Profile' screen and make modifications on that screen. They do not get the 'Not Authorized' error.

Ashar's picture
User offline. Last seen 4 years 48 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: How to remove/disable access to 'User Profile' component ...

run this query and see if any other role has got access to the page.

SELECT C.ROLEUSER, C.ROLENAME FROM
PSAUTHITEM A, PSROLECLASS B, PSROLEUSER C
WHERE
A.PNLITEMNAME = 'userprofile-pagename-here'
AND B.CLASSID = A.CLASSID
AND C.ROLENAME = A.ROLENAME
AND C.ROLEUSER = 'userid-here'

Guest's picture
Guest (not verified)
Re: How to remove/disable access to 'User Profile' component ...

On running the query mentioned in the above post, NO roles (ZERO rows) show up in the results having access to the page.

SELECT C.ROLEUSER, C.ROLENAME FROM
PSAUTHITEM A, PSROLECLASS B, PSROLEUSER C
WHERE
A.PNLITEMNAME = 'USER_GENERAL'
AND B.CLASSID = A.CLASSID
AND C.ROLENAME = A.ROLENAME
AND C.ROLEUSER = 'userid'

But, still the user is able to access the 'USER_GENERAL' screen of USERMAINT component (User Profile) and make modifications on the screen.

Ashar's picture
User offline. Last seen 4 years 48 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: How to remove/disable access to 'User Profile' component ...

Does the user have PeopleSoft Administrator or Security Administrator role?

Guest's picture
Guest (not verified)
Re: How to remove/disable access to 'User Profile' component ...

The user does not have PeopleSoft Administrator or Security Administrator role.

Guest's picture
Guest (not verified)
Re: How to remove/disable access to 'User Profile' component ...

The user had the role 'PeopleSoft Administrator'. I removed that role for the user. Asked the user to clear his browser cache.

Now the 'User Profile' links do not appear on the left navigation menu for the user.

Thanks a lot for your help.

Ashar's picture
User offline. Last seen 4 years 48 weeks ago. Offline
Joined: 03/26/2008
Posts: 227
Re: How to remove/disable access to 'User Profile' component ...

user had the role 'PeopleSoft Administrator'? is it a nrmal user or a special user? I guess 'PeopleSoft Administrator' give access to almost all pages..

Bill F's picture
Bill F (not verified)
Re: How to remove/disable access to 'User Profile' component ...

'PeopleSoft Administrator' is a delivered role with "hard coded" access. Components cannot be removed form 'PeopleSoft Administrator'. If you want a user to have all pages but that, you are going to have to build a new Permission list and Role manually.

Guest's picture
Guest
Hello! Nice to be here

Hi! I'm new here, so I just wanna to say HELLO!