Running into a permission-based issue and was wondering if anyone had a workaround. We're designing pages with all our Profiles in mind and are looking to display relevant information based on the running user's profile Id.
The problem is that user's are unable to see the Profile ID thus the page renders like that condition didn't exist. So for an opportunity model, Owner.Profile.Name = (userinfo) Profile Name will only work if the person logged in has edit abilities on profiles.
Letting all our user's edit profiles is something we're not looking to do. So i'm hoping there's just a better way to do this. Even a user-model with ProfileId = (userinfo) Profile ID won't work for users.
The problem is that user's are unable to see the Profile ID thus the page renders like that condition didn't exist. So for an opportunity model, Owner.Profile.Name = (userinfo) Profile Name will only work if the person logged in has edit abilities on profiles.
Letting all our user's edit profiles is something we're not looking to do. So i'm hoping there's just a better way to do this. Even a user-model with ProfileId = (userinfo) Profile ID won't work for users.