You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: powerapps-docs/administrator/database-security.md
+17-6Lines changed: 17 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ manager: kvivek
6
6
ms.service: powerapps
7
7
ms.component: pa-admin
8
8
ms.topic: conceptual
9
-
ms.date: 10/03/2018
9
+
ms.date: 10/10/2018
10
10
ms.author: manasma
11
11
search.audienceType:
12
12
- admin
@@ -69,14 +69,15 @@ The PowerApps environment includes predefined security roles that reflect common
69
69
70
70
- 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).
71
71
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.
73
73
74
74
## 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).
78
76
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.
80
81
- 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.
81
82
- 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.
82
83
@@ -110,7 +111,17 @@ For more information about access and scope privileges, see [Security roles](htt
110
111
111
112
10. Select **Save and Close**.
112
113
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.
113
122
123
+
> [!IMPORTANT]
124
+
> You should try out the solution in a development environment before importing into a production environment.
Copy file name to clipboardExpand all lines: powerapps-docs/maker/common-data-service/data-platform-entity-licenses.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,13 +50,13 @@ Barb and Isaac are creating apps in PowerApps using CDS for Apps to store their
50
50
51
51
Barb is creating two canvas apps:
52
52
53
-
* App 1 – uses the Contact entity along with a custom entity that stores related information
54
-
* App 2 – uses the Contact entity along with the Incident entity, which is a restricted entity
53
+
* App 1 – uses the Appointment entity along with a custom entity that stores related information
54
+
* App 2 – uses the Appointment entity along with the Incident entity, which is a restricted entity
55
55
56
56
Isaac is creating two model-driven apps:
57
57
58
-
* App 3 – uses the Contact entity along with a custom entity that stores related information
59
-
* App 4 – uses the Contact entity along with the Incident entity, which is a restricted entity
58
+
* App 3 – uses the Appointment entity along with a custom entity that stores related information
59
+
* App 4 – uses the Appointment entity along with the Incident entity, which is a restricted entity
60
60
61
61
Barb and Isaac need the following licenses:
62
62
* 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