Departments - inteos/IBAdmin GitHub Wiki
IBAdmin
Departments
This is a special advanced functionality in IBAdmin which support building a simple multitenant backup solution. Departments are used to group and separate backup [Clients]] and [Storages. Jobs are directly connected to corresponding Clients so they inherit a Departments separation too.
Default
You are not forced to create any Departments when you just want to use your IBAdmin backup solution. Just leave Departments list empty. This means that from logic point of view all resources are the members of "No Department" a default and hidden Department. This logic has a serious consequences you should learn below.
Clients
You can assign a single Department to any available Client. If you are not a Superuser! then you can use Departments you are the member of.
Storages
You can assign a multiple Departments to any Storage type except Storage Alias. For this you can assign a single Department in the same way as for Clients.
Jobs
Jobs inherit Departments selection from its Client configuration.
Users
Standard and Administrator user can be a member of any Department. If user is a member of one or more Departments he has access to resources associated with these departments only. All other resources become unavailable for him. The same logic apply when the user is not a member of any Department then he has access to "No Department" default resources.
When the user creates a new Department (using Role Permissions or as Administrator) he automatically becomes a member of this Department. User cannot remove itself from Department even he has full permissions to do this.