Administrator permissions
This page describes the two kinds of administrators, the regular and the independent ones. It
explains the settings of the Admin tab, and what each kind of administrator can see and manage in
the control panel. For the other kinds of accounts, see Types of user accounts.
Who can make an account an administrator
Only the superuser can make an account an administrator. There are two ways:
- In the user window, open
Permissions→Admin, and choose anAdmin type. - Give the account a role that makes administrators. The role window has the same
Admintab, underPermissions. Every account that has the role becomes that kind of administrator. You can give the role in the user window, underPermissions→Role, or with theAssign roletool, underUsers→Roles. See Roles.
Only the superuser sees the Admin tab, in the user window and in the role window. When another
administrator saves an account or a role, the admin settings do not change.
Some accounts cannot be administrators:
- While an account has a role, its
Admintab is disabled. The admin settings of the account come from the role. - A guest account cannot be an administrator. The
Admintab says "Guest users cannot have admin privileges". - An account that an independent administrator created cannot be an administrator. FileRun refuses
an
Admin typefor such an account, and a role that has an admin type, with "A user account that has an owner cannot be an administrator.". A role that such an account has cannot get an admin type either. See Roles of administrators. An account that is already an administrator and has an owner keeps its type, and only the superuser can manage it. - The superuser account and the visitor account have no
Admintab.
A regular or an independent administrator cannot open their own account in the control panel. The message is "You cannot manage your own account!". Such an administrator changes their own details in the account settings.
When an account becomes an administrator
When an account that was not an administrator becomes one, FileRun removes the credentials that the account received before:
- Every session of the account ends. The user is signed out on every device.
- Every app password of the account is revoked.
- The connected apps of the account lose their access.
This happens in every way that makes an administrator. When the superuser gives an Admin type to a
role that had none, this happens to every account that has the role.
The kinds of administrators
The Admin type tab has these options:
Not an admin: the account is not an administrator. This is the default.Regular admin: the administrator manages the accounts that are members of the groups chosen inCan manage. The superuser chooses the admin permissions of the administrator, one by one.Independent admin: the administrator manages only the accounts, the groups and the roles that the administrator created. An independent administrator has every admin permission over these records.
Both kinds of administrators sign in and work with files like the regular users. The accounts of both kinds are counted in the license limit.
The Admin tab
The Admin tab has three tabs:
Admin typeAdmin permissionsCan manage
While Not an admin is selected, the other two tabs are disabled.
What the Admin permissions tab shows depends on the Admin type:
- For a regular administrator: the admin permissions, and the
Home folder template path. - For an independent administrator:
Max users,Max guest usersand theHome folder template path. The admin permissions are not shown, because an independent administrator has all of them.
For an independent administrator, the Can manage tab is disabled. It says "Independent admin users
manage only the user accounts they create themselves.".
The role window has the same tab, with the same settings.
The permissions of a regular administrator
What every regular administrator can do
A regular administrator who manages at least one group can use these sections, without any admin permission:
Users→All users: edit, deactivate and delete the accounts that the administrator manages, and sign in as these accounts withLogin as. See Managing user accounts.Users→Groups: see and manage the groups that the administrator manages. See User groups.Users→Storage usage: see the space used by the accounts that the administrator manages. See Storage quotas.Files→Shared links: see and delete the shared links of the accounts that the administrator manages.
When Can manage holds no group, the whole Users section is hidden. The Activity logs and the
Roles are in this section, so they are hidden too.
The admin permissions
The superuser chooses these permissions in the Admin permissions tab:
| Permission | What it opens |
|---|---|
User can create new user accounts. |
The Add new button of Users → All users |
User can manage roles. |
Users → Roles |
User can manage notifications. |
E-mail → Notification rules |
User can access the activity logs. |
Users → Activity logs, with its Archive |
User can change the metadata settings. |
Files → Metadata |
User can manage shared drives. |
Files → Shared drives |
Creating user accounts
With User can create new user accounts., the administrator can add accounts. The administrator
cannot make the new accounts administrators.
The permission requires at least one group in Can manage. Otherwise the message is "If you wish to
grant the permission to create new user accounts, please use the "Can manage" option to select at
least one group.".
An administrator who manages only some of the groups must put each new account in at least one of these groups. Otherwise the message is "You are required to select at least one group for the user.". See Adding a user account.
Managing roles
With User can manage roles., the administrator can add, edit and delete roles. The administrator
can manage every role, the roles of the independent administrators included. There is one exception:
the administrator cannot see or manage the role of their own account. The administrator cannot
change the Admin tab of a role.
The permission has two conditions:
Can managemust hold at least one group. Otherwise the message is "If you wish to grant the permission to manage roles, please use the "Can manage" option to select at least one group of users.".- The administrator must have no
Home folder template path. Otherwise the message is "The permission to manage roles cannot be granted if a "Home folder template path" is set.".
The roles that the administrator can give to the accounts are described in Who can assign which role.
Notification rules
With User can manage notifications., the E-mail section shows Notification rules. The other
pages of the E-mail section are only for the superuser. The administrator sees every notification
rule. A rule that the administrator adds or saves must be about one of the groups in Can manage, or
about a member of these groups. See
Notification rules.
Activity logs
With User can access the activity logs., the administrator sees the entries of the members of the
groups in Can manage. An administrator who manages all the groups sees every entry.
Only the superuser can open the details window of an entry, archive the activity log, delete the archive, and change the settings of the activity log.
Metadata and shared drives
With User can change the metadata settings., the administrator manages the file types and the field
sets of the metadata.
With User can manage shared drives., the administrator manages the shared drives. What the
administrator can do there is described in
Administering shared drives.
The groups that a regular administrator manages
The Can manage tab holds the groups that a regular administrator manages. You can choose
[All groups], or some of the groups, or leave the field empty.
Can manage |
Accounts in All users |
Groups |
|---|---|---|
| Empty | None. The Users section is hidden. |
None |
| Some groups | The members of these groups | These groups. The administrator cannot create groups. |
[All groups] |
Every account | Every group. The administrator can create groups. |
In every case, All users leaves out the superuser and the administrators. An administrator who
manages all the groups also sees the visitor account, and the accounts that the independent
administrators created.
The same choice limits the accounts in Storage usage, in Shared links, and in the activity logs.
A regular administrator can edit and delete the groups that the administrator manages.
Which accounts an administrator can manage
To manage an account means to open its user window, save it, deactivate it, delete it, sign in as it, and add it to a group or remove it from a group. The superuser can manage every account.
An administrator cannot manage these accounts:
- their own account. The message is "You cannot manage your own account!".
- the superuser account. The message is "The superuser account cannot be managed!".
- the account of a regular administrator. The message is "You are not allowed to manage the account of another administrator!".
- the account of an independent administrator. The message is "An independent administrator account can be managed only by the superuser!".
Only the superuser manages the accounts of the administrators. This is also true for an independent administrator and an account that it created, when that account is an administrator.
Beyond these limits:
- A regular administrator can manage an account only when the account is a member of a group in
Can manage. Otherwise the message is "The account is not a member of any group you administer!". An administrator who manages all the groups can manage every other account. - An independent administrator can manage only the accounts that the independent administrator created. Otherwise the message is "You are not allowed to manage user accounts!".
The admin methods of the API use the same rules. See Admin methods.
The independent administrator
What belongs to an independent administrator
The records that an independent administrator creates belong to that administrator:
- the user accounts, the guest accounts included
- the groups
- the roles
- the notification rules
- the field sets and the file types of the metadata
A guest account that a user of the independent administrator invites also belongs to the independent administrator.
In the control panel, the independent administrator sees only these records:
All users: the accounts that the administrator created. The list has noHome foldercolumn.Groups,RolesandNotification rules: the records that the administrator created.Activity logs: the entries of the accounts that the administrator created, and of the administrator's own account.Metadata: the field sets and the file types that the administrator created.Storage usage: the accounts that the administrator created, without the guests.Shared links: the links of the accounts that the administrator created, and the administrator's own links.Shared drives: the drives for which the administrator is the admin, and the drives that have no admin. See Administering shared drives.
The name of a group or of a role must be unique only among the records of the same owner. So two independent administrators can each have a group with the same name.
The superuser sees all these records. In the list of users, the Parent user column shows the
independent administrator who created an account. In the list of roles, the Created by column
shows the independent administrator who created a role.
An independent administrator cannot be deleted while the accounts, the groups, the roles, the field sets or the file types that the administrator created exist. The message gives their number. Delete them first, or deactivate the account of the administrator instead. See Which accounts can be deleted. The notification rules that the administrator created are deleted with the administrator.
Accounts whose administrator no longer exists
On an installation that was updated from an earlier version, some accounts and roles can belong to an independent administrator whose account no longer exists.
When such an account is saved, or when the Assign role tool changes its role, it becomes an
account without an owner, like an account that the superuser created. In the same save, its home
folder follows the rules of such an account:
- When the account has a role with a
Path template, the account moves to the path of that role. When the path changes, the account loses its shares, as described in Changing the path of an account. - When the role belongs to the deleted administrator too, the account keeps its home folder. See A role whose owner was deleted.
Limits on the number of accounts
The superuser sets two limits in the Admin permissions tab:
Max usersis the maximum number of user accounts that the independent administrator can create. The guest accounts are not counted here.0means no limit. The deactivated accounts are counted. When the limit is reached, the message is "You cannot create user accounts anymore, the limit was reached!".Max guest usersis the maximum number of guest accounts that belong to the independent administrator. The guests that the users of the administrator invite are counted too. An empty field means no limit.0means that no guest account can be added. When the limit is reached, the message is "You cannot create guest user accounts anymore, the limit was reached!".
When the administrator gives the Guest role to an account, or takes it away, the limit of the new
kind of account applies.
The license limit applies too.
Space quotas
These rules apply only when the account of the independent administrator has a Space quota, in the
Home folder tab:
- Each account that the administrator adds or saves must have a space quota, of its own or from its role. Otherwise the message is "You are required to set a space quota for this user!".
- The space quotas of all the accounts of the administrator, added together, cannot be more than the space quota of the administrator. The message names the largest quota that is still possible, for example "The maximum space quota you can assign to this user is 500MB!".
- Each role that the administrator creates or saves must have a space quota. The quota of a role counts once for each account that has the role.
When the account of the independent administrator has no space quota, these rules do not apply. See Storage quotas.
Home folders
When the independent administrator has no Home folder template path, the home folders of the
accounts that the administrator creates are inside the home folder of the administrator. The Path
that the administrator types is a path inside that folder, and FileRun refuses a path that leads
outside it. An independent administrator who has no home folder cannot give home folders to their
accounts. When the home folder of the independent administrator changes, the home folders inside it
change with it. See
The home folder template of an administrator.
The superuser can place an account of the independent administrator in another folder. The
independent administrator then does not see the Path of that account, and cannot change it.
Who can assign which role
These rules decide which role an administrator can give to an account:
- The superuser can assign every role.
- Only the superuser can assign a role that makes administrators. Another administrator sees the message "You are not allowed to assign a role which grants administrative permissions.".
- Every administrator can assign the
Guestrole. - An independent administrator can assign the roles that the independent administrator created.
- A regular administrator can assign the roles that no independent administrator created.
- The
Assign roletool, underUsers→Roles, is only for the superuser.
The list of roles in the user window shows only the roles that you can assign. The rules apply only when the role of an account changes. So an administrator can edit an account that has a role which the administrator cannot assign, and the account keeps its role. See Roles.
The home folder template of an administrator
The Home folder template path is in the Admin permissions tab, for both kinds of administrators.
It controls the home folders of the accounts that the administrator adds and edits.
While the field holds a path:
- The administrator does not choose home folders. The administrator does not see the
Pathfield of theHome foldertab in the user window, or thePath templatefield in the role window. - Each time the administrator adds or saves an account, FileRun builds the home folder of the account from the template.
- A regular administrator cannot have the permission
User can manage roles..
While the field is empty, the administrator types the paths of the home folders. The superuser can always type the path of any account.
Caution
When the template of an independent administrator changes, FileRun changes the home folders of all the accounts that the administrator created, at once. For a regular administrator, the new template applies to an account the next time that the administrator saves the account. When the home folder of an account changes, the shares of the account are removed.
The paths and the placeholders of the template are described in Home folders.
Shared drives
The superuser and every independent administrator can manage shared drives. A regular administrator
needs the permission User can manage shared drives.. See
Administering shared drives.
Comparison
| What | Superuser | Regular administrator | Independent administrator |
|---|---|---|---|
| Accounts to manage | Every account | The members of the groups in Can manage, not administrators |
The accounts that they created |
| Adding accounts | Yes | With User can create new user accounts. |
Yes, within Max users and Max guest users |
| Groups | Every group | The groups in Can manage |
The groups that they created |
| Creating groups | Yes | Only with [All groups] |
Yes |
| Roles | Every role | With User can manage roles.: every role but their own |
The roles that they created |
| Roles to assign | Every role | The roles that no independent administrator created, except the roles that make administrators | The roles that they created |
| Activity logs | Every entry | With the permission: the members of the groups that they manage | Their accounts and their own account |
| Notification rules | Every rule | With the permission: every rule | The rules that they created |
| Metadata | Yes | With the permission | The field sets and the file types that they created |
| Shared drives | Every drive | With the permission | The drives that they administer, and the drives without an admin |
| Making administrators | Yes | No | No |
| Settings, updates, license | Yes | No | No |
Every administrator can also assign the Guest role.