cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jbecker
Level: Powered On

DataSourceInfo and Common Data Service

It seems that the connector for CommonDataService does not set flags:

  • DataSourceInfo.CreatePermission
  • DataSourceInfo.DeletePermission
  • DataSourceInfo.EditPermission
  • DataSourceInfo.ReadPermission

This information would improve a lot user experience by hiding buttons, forms, etc. according to their permissions.

 

Do you plan to implement this feature for CDS connector ?

2 REPLIES 2
Community Support Team
Community Support Team

Re: DataSourceInfo and Common Data Service

Hi @jbecker,

 

Have you tried to configure the permission under Common Data Service?

Configure database security

 

Regards,

Michael

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
jbecker
Level: Powered On

Re: DataSourceInfo and Common Data Service

Sure I did 🙂

 

One of my colleague has restricted access (only READ privilege). In the Apps, I used DataSourceInfo.CreatePermission and so on, to set the Visible flag on "+" button (and similarly for edit and delete buttons).

He sees the buttons, however, when he submit the form, he obtained and error message (because he has only the READ privilege in CDS).

 

As the documentation mention that connectors that do not provide values for these functions will have a default value to True, I strongly suspect that the CDS connector do not implement these "functions" 😞

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (5,155)