diff --git a/foundation/www/docs/assets/img/users-and-permissions/user-perms/advanced-control.png b/foundation/www/docs/assets/img/users-and-permissions/user-perms/advanced-control.png new file mode 100644 index 00000000..1b0c9f72 Binary files /dev/null and b/foundation/www/docs/assets/img/users-and-permissions/user-perms/advanced-control.png differ diff --git a/foundation/www/docs/user/manual/en/setting-up/users-and-permissions/user-permissions.md b/foundation/www/docs/user/manual/en/setting-up/users-and-permissions/user-permissions.md index 11ca4065..19ac541b 100755 --- a/foundation/www/docs/user/manual/en/setting-up/users-and-permissions/user-permissions.md +++ b/foundation/www/docs/user/manual/en/setting-up/users-and-permissions/user-permissions.md @@ -4,7 +4,7 @@ Along with Role based permissions, you can also set user level permissions that are based on rules that are evaluated against the data contained in the document being accessed. This is particularly useful when you want to restrict based on: 1. Allow user to access data belonging to one Company -1. Allow user to access data related to a specific Customer or Territory +2. Allow user to access data related to a specific Customer or Territory ### Creating User Permissions @@ -13,10 +13,20 @@ To create a User Permission, go to Setup > Permission > User Permissions When you create a new record you will have to specify 1. The user for which the rule has to be applied -1. The type of document which will be allowed (for example "Company") -1. The specific item that you want to allow (the name of the "Company) +2. The type of document which will be allowed (for example "Company") +3. The specific item that you want to allow (the name of the "Company) -Creating a new user permission +Creating a new user permission + +### Advanced control + +You can optionally apply user permission only for specific doctype by setting the doctype in the Applicable For field under Advanced Control. +Setting **Applicable For** option will make the current user permission applicable only under the selected doctype master. + +Creating a new user permission +In the above User Permission, user michael.corleone@gadgets.com will be able to access blog posts created by blogger Michael Corleone. + +**Note:** If **Applicable For** is not set, User Permission will applicable across all related doctypes. ### Ignoring User Permissions on Certain Fields @@ -25,7 +35,7 @@ Another way of allowing documents to be seen that have been restricted by User P For example you don't want Assets to be restricted for any user, then select **Asset** in **Customize Form** and in the Company field, check on "Ignore User Permissions" -Ignore User Permissions on specific properties +Ignore User Permissions on specific properties ### Strict Permissions @@ -38,6 +48,6 @@ You can change this setting incase you want the user permissions to be assigned Finally once you have created your air-tight permission model, and you want to check how it applies to various users, you can see it via the **Permitted Documents for User** report. Using this report, you can select the **User** and document type and check how user permissions get applied. -Permitted Documents for User report +Permitted Documents for User report {next}