Chapter 14
Users, profiles and audit
Tesela controls who gets in and what each person can do through user accounts, profiles with permissions and a hierarchy of ranks. Everything that happens is recorded in a searchable audit trail. This chapter describes those screens in text; because they contain personal data, they are not illustrated with screenshots.
Where everything is
In the side menu, under the “Administration” group, you will find “Users”, “Profiles and permissions” and “Audit”. Each option is shown only if your profile has the corresponding permission (“Manage users”, “Manage profiles” and “View audit trail”). In the header you have “My Password” and “Sign out”.
The rank hierarchy
Each profile has a rank, a number from 0 up to a maximum: the higher the number, the more power. You manage only profiles and users of a rank lower than yours. In practice:
- In the user list you see only people with a rank lower than yours and your own account (marked “your account”).
- You cannot create or edit someone of your own rank or higher, nor assign a profile of a rank equal to or higher than yours.
- You cannot grant a permission that your own profile does not have: the system prevents it.
Users
The “Users” screen shows the number of registered accounts, a search box (name, email or unit) and a status filter (“All”, “Active” or “Deactivated”). The table lists the person, the profile, the unit, the last access and the status (“active”, “deactivated” or “must change password”).
Creating a user
- Click “New user”.
- Complete the “Institutional email” (it identifies the account and cannot be changed afterwards), the “Full name” and the profile. Optionally, position, phone, unit and personal details.
- If you want the profile to expire, enter “Profile expires on”. When the date is reached, the account returns by itself to the public profile and the person is notified. Leave it blank for it not to expire.
- Click “Create user”. The system generates a temporary password and shows it only once: copy it with “Copy” and hand it over through a secure channel. If you close the notice without copying it, it will have to be reset.
The person must change that password the first time they sign in.
Editing, resetting and deactivating
- Edit: changes the name, the profile, the details and the “Active account” checkbox. A deactivated account cannot sign in, but retains its history. Click “Save changes”.
- Reset password: generates another temporary password. The current one stops working immediately and the new one is shown only once.
- Deactivate account: the account can no longer sign in, but its history of actions is retained, because in an institution it must be possible to answer who did what.
On the 1st of each month the administrator receives by email the list of accounts with internal access to review (this requires the mail server to be configured).
“Edit my details”
On your own row the “Edit my details” button appears. Each person can correct their personal data and their email. They cannot change their profile or the status of their account: that is done by someone of a higher rank. The password is changed under “My Password”.
My password
Click “My Password” in the header. Enter the current password and the new one twice. The new one must be at least 10 characters long, with lowercase letters, uppercase letters and at least one number, and be different from the current one. If your password is temporary, the system will ask you to change it before continuing.
The same screen offers “Delete my account”: it erases your personal data (ID number, names, date of birth, phone and entity) and your account stops working. It asks for your password as confirmation and cannot be undone.
Profiles and permissions
A profile is a named set of permissions. The permissions are defined by the system (for example, view the catalog, upload data, publish and withdraw, edit records, manage styles, view downloads, manage users, manage profiles, view the audit trail, manage the assistant, manage imagery providers, manage external services, use the assistant, record field events and review field events). New permissions are not invented from the screen; profiles are created.
- New profile: enter a stable key in lowercase, a name, a description, the rank and tick the permissions. Delicate permissions are marked “sensitive”.
- Edit: changes take effect immediately for those who have the profile, because permissions are read on every request.
- Protected profiles: “administrador” and “publico” cannot be deleted or deactivated, and the administrator cannot be left without the permissions to manage users and profiles. This way the system is never left without someone to govern it.
- Delete a profile asks for confirmation.
Profiles that the system ships with by default, which you can edit: Administrator, Technician (uploads, documents and publishes layers), Content editor (uploads and documents, but does not publish), Query (read-only access to the internal catalog) and Public (registered account without internal access).
Audit
The “Audit” screen answers “who did what and when”. It separates staff activity from that of visitors without an account.
What it records
- Access: sign-ins, failed attempts (with the reason: the account does not exist or the password is incorrect) and sign-outs.
- Portal use: layer queries, searches, spatial queries, use of external services and downloads.
- Layer administration: creation, editing of data and metadata, style changes, publication, withdrawal, decommissioning, restoration, visibility changes and publication of snapshots.
How to consult it
- Choose the period with “From” and “To”, or with the shortcuts “Today”, “7 days”, “30 days” and “One year”.
- Filter by “Who” (everyone, only with an account, only anonymous, or one person), by “Layer” and by “Action”.
- Review the indicators (sign-ins, distinct people, queries, downloads), the activity per day, the most used layers, where access comes from and the list of latest events with their detail.
- To take the result to another program, use “Export to Excel” or “Export to CSV”.
Regarding origin, only the source network is stored (the truncated IP), never the full address. Even so, together with the email and the time, this screen is a record of personal data: limit its access to the profile that audits.
Retention
The record of accesses and queries is recycled every year: 12 months are kept. The history of changes to layers and that of downloads is not recycled, because they are the memory of a published dataset.
Summary
- You see and manage only those with a rank lower than yours, in addition to your own account.
- When you create a user or reset their password, the temporary password is shown only once.
- Each person corrects their data with “Edit my details” and changes their password under “My Password”; they cannot change their profile or status.
- Profiles group permissions; “administrador” and “publico” are protected.
- The audit records access, use and changes; it can be filtered, exported to Excel or CSV and is kept for 12 months.