Home
About
Search
Welcome to M-Files Empower – our new support experience. We'd love to hear what you think!Give feedback
Home/Support and troubleshooting/Troubleshooting/FAQ/General questions

Use of Named Access Control Lists vs. User Groups to Define Access Rights

Last updated on 29 June 2022

Admin
Permissions and ACLs

Overview

This article discusses options for managing object's Access Control List content.
Access control to an object can be defined via a Named Access Control List (NACL) or individual permissions consisting of users (including pseudo users from object's properties) and/or user groups.
 

What is a Named Access Control List (NACL)?

A named access control list contains zero or more users and zero or more user groups with access rights granted or denied from such. If the named access control list is modified afterwards, the changes can be chosen to be applied also for the existing objects. If a NACL is modified and the changes are applied to existing objects as well, this will cause a background task which, depending on the amount of the objects using that NACL and the system performance, can take a long time to be fully applied.
 

What is a User Group (UG)?

A user group is a list of users or other user groups but contrary to a NACL, it does not contain any access control definitions which would be applied to objects.
 

What is the difference between modifying a NACL vs. modifying a UG?

Modification to a NACL redefines the actual access control list (ACL) used in the objects within the vault and it needs a more complex internal update. Modifying a user group does not affect the actual ACL but it still requires some updates into the vault's database but these are lot faster ones than those required if the NACL were to be changed). It is important to understand that if the content of a UG is modified, this is not considered a modification of any NACL even if the user group were used within the NACL.
 

Issues with NACLs

  • If the NACL is used in many object versions - tens or hundreds of thousands or even more - a change in the NACL may cause a lengthy update process during which access to the objects involved may not be fully available.

Issues with UGs

  • If the number of UGs grows to a very large amount, this may be causing performance issues within the system
  • A UG itself does not contain other information than the list of users/groups within the group unlike NACL so it cannot directly replace the use of a NACL (but with some scripting/vault application, it could)

When to use NACL and when not

  • The more objects the NACL is used with and the more frequently it needs to be updated, the more problematic the NACL can be
  • NACLs can be replaced with UGs completely, however this then means that the user rights have to be defined each time the UG is used
    • This can be automated with vault applications or scripts
  • NACLs and UGs can be combined as well - add a UG into a NACL and modify the contents of the UG instead of the NACL
 

Terms in this article:

User
User group
Named Access Control List
Difference between Named Access Control List and User Group

Still need help?