Skip to Content
0
Former Member
Jan 04, 2006 at 05:34 AM

User Authorization.. application

20 Views

Hi,

I have an application that will get all objects that accessible by a list of users.

It will check whether the objects of the list of users are visible to logged in user or not.

If so then all those objects that are visible to both list of users and the logged in user will be displayed.

Say, users 1,2,3 can see object Obj 1,2,3,5

user logged_in can see Object obj 1,2,3,4,5

when

logged_in user runs my application he should see only Obj 1,2,3,5

ACO package has a

class CL_ACO_P_USERS

method GET_ASSIGNED_OBJECT_IDS which takes in the user id

IV_USER_ID

but inside this method there is a call to the check whether the logged in user is a super user or not. I being a super it return true so all the object IDS are returned. which i don't want.

Thanks

Murugesh