How to compare permissions with Nintex Workflow

  • 25 March 2015
  • 2 replies
  • 3 views

Badge +3

Hello everyone.

We have a library that contains pretty sensitive data, and we have the permissions locked down.  However, from time to time, a user gets added to a group who isn't authorized to view the documents.

Is there a way, with Nintex 2013 (I believe most current build), to be notified when permissions of this folder change. This would have to check groups along with individual users.

Any help is appreciated.

Thanks!


2 replies

Userlevel 6
Badge +16

I should do the following:

Schedule a workflow that:

-Get the current permissions of the library

     You can do it with a REST Call , perhaps with /_api/web/getFileByServerRelativeUrl('my/relative/path')/ListItemAllFields/effectiveBasePermissions

-Save current permissions

The next run of the workflow make the same step and compare current one with saved one.

Badge +3

Where would I save the current permissions? I'm hoping to run this once a week.

Reply