Skip to content

Commit c4369e5

Browse files
authored
Merge pull request #830 from MicrosoftDocs/master
Paul revisions
2 parents 3dc330d + 64c571f commit c4369e5

File tree

2 files changed

+21
-10
lines changed

2 files changed

+21
-10
lines changed

powerapps-docs/administrator/database-security.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ manager: kvivek
66
ms.service: powerapps
77
ms.component: pa-admin
88
ms.topic: conceptual
9-
ms.date: 10/03/2018
9+
ms.date: 10/10/2018
1010
ms.author: manasma
1111
search.audienceType:
1212
- admin
@@ -69,14 +69,15 @@ The PowerApps environment includes predefined security roles that reflect common
6969

7070
- The Environment Maker role can not only create resources within an environment, but can also distribute the apps they build in an environment to other users in your organization. They can share the app with individual users. For more information, see [Share an app in PowerApps](../maker/canvas-apps/share-app.md).
7171

72-
- For the users making apps which are connecting to the database and needs to create or update entities and security roles, should be assigned System Customizer role as well, along with the Environment Maker as Environment Maker role, has no priviliges on the database.
72+
- For the users making apps which are connecting to the database and needs to create or update entities and security roles, should be assigned System Customizer role as well, along with the Environment Maker as Environment Maker role, has no privileges on the database.
7373

7474
## Create or configure a custom security role
75-
If your app is based on a custom entity, privileges must be explicitly specified before users may work on it. To do this, you can choose to do one of the following.
76-
- Expand an existing predefined security role, so that it includes privileges on records based on the custom entity.
77-
- Create a custom security role for the purpose of managing privileges for users of the app.
75+
If your app uses a custom entity, its privileges must be explicitly granted in a security role before your app can be used. You can either add these privileges in an existing security role or create a custom security role. There are a set of minimum privileges that are required in order for the new security role to be used - see [Minimum privileges to run app](#minimum-privileges-to-run-app).
7876

79-
The environment might maintain the records which can be used by multiple apps, you might need multiple security roles to access the data with different priviliges. e.g.
77+
> [!TIP]
78+
> If you want to create a custom security role with the minimum required privileges to run an app, check out the section below: [Minimum privileges to run app](#minimum-privileges-to-run-app).
79+
80+
The environment might maintain the records which can be used by multiple apps, you might need multiple security roles to access the data with different privileges. e.g.
8081
- Some of the users (Type A) might only need to read, update, and attach other records so their security role will have read, write, and append privileges.
8182
- Other users might need all the privileges that users of Type A has, plus the ability to create, append to, delete, and share, so their security role will have create, read, write, append, delete, assign, append to, and share privileges.
8283

@@ -110,7 +111,17 @@ For more information about access and scope privileges, see [Security roles](htt
110111

111112
10. Select **Save and Close**.
112113

114+
## Minimum privileges to run app
115+
When you create a custom security role, you need to include a set of minimum privileges into the security role in order for a user to run an app. We've created a solution you can import that provides a security role with the required minimum privileges.
116+
117+
Start by downloading the solution from the Download Center: [CDS for Apps minimum privilege security role](http://download.microsoft.com/download/6/5/5/6552A30E-05F4-45F0-AEE3-9BB01E13118A/MinprivilegeSecRole_1_0_0_0.zip).
118+
119+
Then, follow the directions to import the solution: [Import, update, and export solutions](../maker/common-data-service/import-update-export-solutions.md).
120+
121+
When you import the solution, it creates the **min prv apps use** role which you can copy (see: [Create a security role by Copy Role](https://docs.microsoft.com/en-us/dynamics365/customer-engagement/admin/create-edit-security-role#create-a-security-role-by-copy-role)). When Copying Role is complete, navigate to each tab - Core Records, Business Management, Customization, etc - and set the appropriate privileges.
113122

123+
> [!IMPORTANT]
124+
> You should try out the solution in a development environment before importing into a production environment.
114125
115126
<!--Reference links in article-->
116127
[1]: https://admin.powerapps.com

powerapps-docs/maker/common-data-service/data-platform-entity-licenses.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,13 +50,13 @@ Barb and Isaac are creating apps in PowerApps using CDS for Apps to store their
5050

5151
Barb is creating two canvas apps:
5252

53-
* App 1 &ndash; uses the Contact entity along with a custom entity that stores related information
54-
* App 2 &ndash; uses the Contact entity along with the Incident entity, which is a restricted entity
53+
* App 1 &ndash; uses the Appointment entity along with a custom entity that stores related information
54+
* App 2 &ndash; uses the Appointment entity along with the Incident entity, which is a restricted entity
5555

5656
Isaac is creating two model-driven apps:
5757

58-
* App 3 &ndash; uses the Contact entity along with a custom entity that stores related information
59-
* App 4 &ndash; uses the Contact entity along with the Incident entity, which is a restricted entity
58+
* App 3 &ndash; uses the Appointment entity along with a custom entity that stores related information
59+
* App 4 &ndash; uses the Appointment entity along with the Incident entity, which is a restricted entity
6060

6161
Barb and Isaac need the following licenses:
6262
* Barb needs a PowerApps Plan 1 license to create canvas apps using CDS for Apps. If she needs to create a database or create a custom entity, she would need a PowerApps Plan 2 license.

0 commit comments

Comments
 (0)