web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Check permissions/acce...
Power Apps
Answered

Check permissions/access on the bound parameter

(0) ShareShare
ReportReport
Posted on by 10

I created a PowerApp Component to search and resolve addresses.

I want to check if the current user has write permissions on the fields bound to the parameters of the component. In the case of read-only permissions the searchbox should be hidden as the address can't be updated anyway.

 

Is it possible to get the permissions on the fields bound to the parameters?

 

In practice the control would be mostly bound to CDS, so I could check permissions directly on CDS, but in theory the bound source could also be a SharePoint list or something else. The framework should provide a way to check the access to the bound datasource agnostic of the datasource. 

I have the same question (0)
  • Verified answer
    Greg Hurlman (MSFT) Profile Picture
    Microsoft Employee on at

    You can check the security metadata on a parameter by calling either of these APIs:

    • context.parameters.parameterName.security.readable
    • context.parameters.parameterName.security.editable

    These both return boolean values at runtime.

  • ArjanM Profile Picture
    10 on at
    Thanks. This was exactly what I was looking for, but couldn’t find in the docs.
  • Greg Hurlman (MSFT) Profile Picture
    Microsoft Employee on at

    Yeah, I noticed that too -- I'll make sure we get the docs for parameters improved.


Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 541

#2
WarrenBelz Profile Picture

WarrenBelz 434 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 289

Last 30 days Overall leaderboard