cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Ajithnair621
Helper II
Helper II

Field Level data restricted with STAR MARK even after setting read access

I have created an entity in CDS. 4 fields in the entity have field level security enabled. All are mapped to a field security profile and set to Allow Read - Yes.
A user added to that field Security Profile is unable to view the data. User already has Create, Read and Write permission on the Entity.

1 ACCEPTED SOLUTION

Accepted Solutions

@EricRegnier @HSheild 

 

The issue was resolved after I removed all field security profiles and recreated it again.

 

A Possible reason why the issue occurred could be because I created Security profile and later modified the fields (Enabling field Security) as part of my customizations. This seems to have impacted all fields part of the security profile.

View solution in original post

7 REPLIES 7
HSheild
Super User
Super User

Hi @Ajithnair621 

 

Sounds like you have everything set up correctly.  Have you clicked the Publish all customisations button?

@HSheild 

Yes, I have published it. Performed Publish all customization for the new solution multiple times. For the time being I have disabled field security and put up a read only field on the form.

 

For the reference, I had an issue were a field which had a Business rule (in CDS), business rule was not executing since the same field was updated through a flow also. So I had to remove the Business Rule from that field-1 and set it to another field-2. After that the solution was working as expected. 

 

Would there have been a case were the field security profile fails to work due to any CUSTOM ROLE?

As of now I have a custom role created based on the CDS user role(standard role) with Create, Read & write access to the new entity. Since it is a new solution I don't have much objects and only 1 customized role.

Ajithnair621
Helper II
Helper II

@HSheild 

Forgot to mention. There is a Business Process flow also. Some of those field enabled for Field Security is part of the Business Process Flow.

Hi @Ajithnair621 ,

 

Is there any chance this related to your custom role issue where you didn't have the minimum privileges?  There are likely some privileges required for the user to read Field Security Profiles so that CDS know whether to show or hide the field value.  Security Roles are a bit of dark art and that is why it is recommended to copy from an existing role rather than starting completely from a bran new role

 

https://docs.microsoft.com/en-us/power-platform/admin/create-edit-security-role#minimum-privileges-f...

 

If this doesn't help then I recommend raising a support case with Microsoft through admin.powerplatform.com.

 

 

I have already copied the CDS role and added my entity to that. In that case as you said, all basic permissions are in place. 

 

I will try it once again with a new entity and if it does not work. I will raise a ticket through admin Portal.

EricRegnier
Super User II
Super User II

Hi @Ajithnair621,

Just to isolate the issue, can these users see the whole record or they can't just see the values of these FLS fields on the form/views (i.e. the values are masked). Can they view the other fields? The security role(s) that users have assigned have create/read/write at the organisation level? Would it be possible to share a screenshot of the Business Management and Customization tabs of the custom security role?

Thanks

@EricRegnier @HSheild 

 

The issue was resolved after I removed all field security profiles and recreated it again.

 

A Possible reason why the issue occurred could be because I created Security profile and later modified the fields (Enabling field Security) as part of my customizations. This seems to have impacted all fields part of the security profile.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (7,068)