---
title: "Users, roles and partner access"
description: "Create user accounts and manage who sees what in NetSense - inviting users and assigning roles per tenant, changing a user's password, built-in and custom roles, scoping users to specific devices by site, zone or partner, restricting portal access by source IP, and giving LCOs and field teams their own view."
---

> Documentation Index
> Fetch the complete documentation index at: https://netsense-nms.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Users, roles and partner access

NetSense access control answers two independent questions per user: **what can they do**
(their role) and **what can they see** (their constraints). The two are enforced
separately and combine with AND, which is what lets you hand out portal access freely, to
NOC staff, field engineers, partners and local cable operators, without anyone seeing more
than their slice of the network.

This guide covers [creating a user](#creating-a-user) and the mechanics behind access
control, then walks three scenarios end to end:

- [Building a custom role](#scenario-1-a-custom-role) when none of the built-ins fit
- [Scoping a user to specific devices](#scenario-2-scoping-a-user-to-specific-devices):
  a zone, a POP, or both
- [Giving an LCO/partner their own view](#scenario-3-partner-and-lco-access) in an ISP-LCO
  deployment

## Creating a user

NetSense has no self-service signup. Every account is created by an admin from
**Admin → Users**, and the form asks for the person's identity and their roles in one
go. The [constraints](#constraints-what-a-user-can-see) that narrow what they can *see*
are added afterwards, as a separate step.

Two things have to be true before you can do it:

- You hold **`user:edit`** in the tenant.
- The tenant has user management enabled. This is a platform setting (**Enable user
  management**) that Extreme Labs turns on for your tenant, so ask support if it is off.
  With it off the **Invite User** button is hidden, and the form itself answers "You do
  not have permission to invite users."

### The steps

1. Go to **Admin → Users** and click **Invite User**, top right.

   ![The Users list with three accounts, their role badges, and the Invite User button in the top right corner](https://netsense-nms.com/docs/_nimbus/md/1vur5iy/users-list-invite.jpg)

2. Fill in **First Name** and **Last Name** (up to 64 characters each) and **Email** (up to
   128). There is no separate username field: **the email address is the username**, so it
   must be unique across the whole installation and it should be one the person can
   actually receive mail at.
3. Set an initial **Password** and type it again in **Confirm Password**. See
   [The initial password](#the-initial-password) below.
4. Under **Tenants**, pick the roles this person should have. Your tenant is already
   listed and selected. See [Choosing their roles](#choosing-their-roles).
5. Click **Invite**. You are returned to the Users list with the new account on it.

![The completed Invite User form: first and last name, email, password and confirmation, and a tenant with the viewer role selected](https://netsense-nms.com/docs/_nimbus/md/72lyv5/user-invite-form.png)

The invite creates the account and grants roles. It does **not** set constraints, and a
user with no constraints sees everything their role allows across the whole tenant. If this
person is meant to see only a zone, a POP or a partner's devices, follow up straight away
with [Scenario 2](#scenario-2-scoping-a-user-to-specific-devices) or
[Scenario 3](#scenario-3-partner-and-lco-access): reopen them from the list (the pencil on
their row), set the constraints and press **Save Constraints**.

### The initial password

Every new account gets a password from you, and the person can sign in with it straight
away. There is no email verification step to wait for: by creating the account you are
vouching for the address.

- The password must be **8 to 70 characters** and contain an uppercase letter, a lowercase
  letter, a number and a symbol. The form validates as you type.
- **The password you set here is temporary.** NetSense always marks it change-required, so
  the user is forced to choose a new one at first login. It is a handover mechanism, not a
  credential to keep using, and not one to share between people.
- Hand it over on a different channel from the one that tells them their username, and
  double-check the email before you click **Invite**: the address is the login, so a typo
  means the person cannot sign in until you correct it under **Edit User**.

### Choosing their roles

Roles are assigned while you create the account, in the **Tenants** block at the bottom of
the form. Your own tenant is already listed there and marked **Current**, so in practice
this step is just opening the dropdown and picking what the person should be able to do.

![The role picker open, listing admin, editor and viewer, each labelled Default system role](https://netsense-nms.com/docs/_nimbus/md/w24avq/user-invite-roles.jpg)

The picker offers the [three built-in roles](#roles-what-a-user-can-do) alongside any
[custom roles](#scenario-1-a-custom-role) you have built, each with its description
underneath. At least one is required (the form refuses with "At least one role is
required"), and you can give someone several, in which case their permissions are the
union of all of them.

This block loads separately from the rest of the form, so give it a second to appear. If it
comes up empty, reading "No tenants available for user management", then user management is
switched off for the tenant or you don't hold `user:edit` in it.

:::note[If you run more than one tenant]
A small number of operators keep several tenants side by side under one login. If that is
you, **Add Tenant** adds another one to the same invite, with its own roles.

Assign all of them while you are creating the account. A tenant's Users list only shows
people who already hold a role there, so you cannot open an existing account from one
tenant and add another to it afterwards, and re-inviting the same email address is
rejected as a duplicate ("user with email … already exists").
:::

### Changing a user's password

When someone is locked out, has forgotten their password or you suspect it has leaked, an
admin can set a new one for them. Open the user from **Admin → Users** (the pencil on
their row) and use the **Change Password** section, between **Edit User** and
**Manage Roles**.

![The Change Password section on a user's page, with New Password and Confirm Password fields and the Change Password button](https://netsense-nms.com/docs/_nimbus/md/unppbl/user-change-password.png)

1. Enter the **New Password** and type it again in **Confirm Password**. The same rules
   apply as at invite time: 8 to 70 characters, with an uppercase letter, a lowercase
   letter, a number and a symbol.
2. Click **Change Password** and confirm.

Three things happen at once, which is why the confirmation button is red:

- **The user is signed out of every active session**, on every browser and device. Use this
  to cut off a session you no longer trust, not just to unblock someone.
- **The new password is temporary.** As with the initial password, the user must choose
  their own at the next login, so you never end up knowing a credential they keep using.
- **Their old password stops working immediately.** Let the person know before you do it
  if they are in the middle of something.

Who can do it follows the same rules as creating users: you need **`user:edit`** in the
tenant, and the tenant must have user management enabled. Without those the section is not
shown. You can only change the password of someone who holds a role in your tenant; for
anyone else NetSense answers as if the user does not exist.

:::note[Accounts in more than one tenant]
A person has one login across every tenant they belong to. Changing their password from
one tenant changes it everywhere, and signs them out everywhere.
:::

### Removing access

Row actions on the Users list only appear when you hover a row. Deleting needs the separate
`user:delete` permission, and the trash icon does what you would expect: the account is
removed.

The one exception is a person who also holds roles in another of your tenants. There the
same icon only revokes *this* tenant's roles, and their account, along with their access
elsewhere, survives.

You cannot delete yourself: the trash icon is hidden on your own row. Accounts you are not
allowed to manage show a view (eye) icon instead of the pencil and trash.

## Roles: what a user can do

Roles are per tenant and live under **Admin → Roles**. Three come built in, labelled
**Default system role**. They are read-only: they show a view (eye) icon instead of edit
and cannot be deleted.

| Role | Intent |
| --- | --- |
| **admin** | Full control, including user and role management |
| **editor** | Can change things, but not manage users or roles |
| **viewer** | Read-only |

Everything else in the list is a custom role somebody in your organization created.

![The Roles list showing the three default system roles alongside custom roles created for zone managers and partner field engineers](https://netsense-nms.com/docs/_nimbus/md/tn86dl/roles-list.jpg)

A role is a set of **permission keys** shaped `resource:action`, for example `olt:view`,
`onu:edit`, `switch:port:delete`, `user:role:edit`. A user can hold more than one role in
a tenant, and their effective permissions are the **union** of those roles.

:::note
Role and permission changes take effect on the **next login**: have the user log out and
back in after you change their access, otherwise they'll keep seeing the old permission
set and you'll both think the change didn't work.
:::

## Constraints: what a user can see

Editing a user (**Admin → Users**, then the pencil on their row) shows independently
saved sections: **Edit User** (name, email, phone),
[**Change Password**](#changing-a-users-password), **Manage Roles** (the per-tenant role
selection) and the constraints below them, saved with their own **Save Constraints**
button.

Constraints narrow visibility by **Sites** (POPs), **Zones**, **Partners**, and
**IP addresses**. The first three are matched against the Site/Zone/Partner ID carried by
each device in the inventory.

Two rules decide everything about how they behave:

- **A user with no constraints sees everything their role allows.** Constraints are opt-in
  scoping, not a default deny. Leaving all four empty is the normal state for your own NOC
  staff.
- **Different constraint types combine with AND; values inside one type combine with OR.**
  A user with Zones = `metro_east_1, metro_west_2` sees devices in *either* zone. A user
  with Zones = `metro_east_1` **and** Partners = `LCO-4412` sees only devices that are in
  that zone *and* tagged with that partner: the intersection, not the union. This trips
  people up: if a user reports seeing nothing, an accidental second constraint type is the
  usual cause.

Because visibility keys off inventory metadata, this only works as well as your device
tagging. The Sites/Zones/Partners dropdowns are populated **from the IDs that actually
exist in your inventory**, so an ID you have never assigned to a device won't be
selectable. Assigning Zone, Site and Partner IDs when
[adding devices](https://netsense-nms.com/docs/guides/adding-devices/) is what makes granular access possible
later.

:::caution
You cannot edit your own constraints. The fields are disabled on your own profile, with
"You can't edit your own access restrictions." This is deliberate, so an admin can't
accidentally lock themselves out. Have another admin make the change.
:::

### Restricting access by IP

The **IP Addresses** field accepts exact addresses and CIDR ranges (`10.0.0.0/24`). It is
a create-as-you-type field: type a value and press Enter to add it as a chip.

Worth understanding precisely: this is enforced on **every request**, not just at login.
A user whose IP falls outside the list is authenticated but blocked, and sees

> You are logged in, but you do not have permission to access this page from this IP
> address.

So a user who logs in at the office and later reconnects from a mobile hotspot is cut off
mid-session. Note also that it is the **public egress IP** that is matched, so users
behind a corporate VPN or NAT all present the same address, and a customer's "our office
IP" is usually one address, not a range. An empty list means no IP restriction at all.

## Scenario 1: a custom role

Use this when the built-ins are the wrong shape, most often "read-only, but only for the
OLT/ONU world" for support staff who resolve subscriber tickets and shouldn't be able to
touch switches or settings.

Go to **Admin → Roles → Add Role**:

1. **Name**: what people will see (up to 128 characters).
2. **Identifier (Slug)**: auto-derived from the name; lowercase letters, digits and
   hyphens only, up to 30 characters. **It cannot be changed after the role is created**,
   so it's worth a moment's thought.
3. **Description**: optional, up to 512 characters. Worth filling in: on a tenant with a
   dozen custom roles this column is the only thing telling them apart.
4. **Permissions**: tick what the role may do. At least one is required.

![The Add Role form with name, slug, description and the permission tree, with OLT View, OLT Port View, ONU View and ONU Report selected](https://netsense-nms.com/docs/_nimbus/md/1vttbd3/role-create-permissions.jpg)

### Permissions depend on each other

The permission list is a **tree**, and the nesting is not cosmetic: a child permission is
meaningless without its parents. Reading ONU data requires being able to see the OLT and
its PON ports in the first place.

When you tick something nested, NetSense tells you what else it needs and asks you to
confirm rather than silently adding it:

![The Additional Permissions Required dialog listing OLT View, OLT Port View and ONU View as prerequisites for ONU Report](https://netsense-nms.com/docs/_nimbus/md/abr86i/role-dependent-permissions.jpg)

Choose **Continue** and the prerequisites are ticked along with your selection. This is
why a role you meant to keep narrow can end up with more `*:view` permissions than you
expected. That's correct behavior, not a bug.

Two things to know when planning a role:

- **Device create, edit and delete are one permission.** `olt:edit` covers creating,
  editing *and* deleting OLTs; `switch:edit`, `bng:edit`, `server:edit`,
  `wireless:edit` and `generic:device:edit` work the same way for their types. There is no way to grant "may
  add devices but may not delete them". If that matters, withhold the edit permission and
  have a smaller group do the inventory work.
- **Roles are global to the tenant, constraints are per user.** A role never mentions a
  zone, site or partner. Build one "Zone Technician" role and reuse it for every zone,
  varying only the per-user constraint. Don't create `zone-technician-east` and
  `zone-technician-west`.

Edit a role later by clicking it in the list; its slug stays fixed, everything else is
editable. Deleting a role needs the separate `user:role:delete` permission.

## Scenario 2: scoping a user to specific devices

The common ask is "this engineer should only see the devices in their zone", or their
POP, ring, or city. NetSense has no per-device access list; you scope by the **grouping ID
the devices already carry**, which is why the tagging in
[adding devices](https://netsense-nms.com/docs/guides/adding-devices/) matters.

1. **Tag the devices.** Every device in scope needs the same **Zone ID** (or **Site ID**
   for a single POP). You can set this when creating a device, or edit existing ones.
2. **Give the user a role.** Usually a read-only or narrow custom role, e.g. the Zone
   Technician built in Scenario 1.
3. **Add the constraint.** On the user's page, pick the Zone (or Site) and
   **Save Constraints**.

![The Zones constraint picker open, listing the zone IDs that exist in the inventory](https://netsense-nms.com/docs/_nimbus/md/2qajp1/user-constraints-zones.jpg)

The dropdown lists only IDs present in your inventory. If the zone you want isn't there,
no device carries it yet, and the fix is in the inventory rather than here.

Which field to use is a matter of what the grouping means to you: **Site ID** is a single
POP and also drives the mobile/field-engineer view, so a technician constrained by Site
gets exactly their POP on their phone. **Zone ID** is the wider regional grouping and is
also usable for alarm routing. Devices carry both, so you can tag once and scope either
way.

Remember the AND rule: to give someone *two* zones, put **both IDs in the Zones field**.
Putting one in Zones and one in Sites gives them the intersection, which is usually
nothing.

## Scenario 3: partner and LCO access

For an ISP working through local cable operators, each LCO should log into the same tenant
and see only the devices in their own network: nothing about the ISP's core, and nothing
about other LCOs.

The full recipe:

1. **Tag each LCO's devices with their Partner ID** in the inventory. This is the piece
   that does the actual work; everything else is bookkeeping.
2. **Create a restricted role** for partner staff: a read-only role, or a narrow custom
   one. Do not give partners `user:*` permissions, or they can create their own accounts.
3. **Create the LCO's users** and set a **Partners constraint** matching their ID.
4. **Optionally add an IP constraint** so the partner portal only opens from their office
   or NOC.
5. **Route their alarms to their own channel** using the same Partner ID, see
   [alarm routing](https://netsense-nms.com/docs/guides/alarm-relays/#routing-alarms-to-different-channels).

![A partner user with the partner role, a Partners constraint of LCO-4412 and an IP restriction of 203.0.113.0/24](https://netsense-nms.com/docs/_nimbus/md/nd8244/user-constraints-partner.jpg)

The result: every LCO logs into the same tenant but sees only their own devices, their
alarms land in their own group, and your NOC keeps the full picture. Because the Partner
ID lives on the device, moving a device between LCOs is a single inventory edit. No user
or role changes are needed.

Two practical notes from operators running this at scale:

- **One Partner ID per LCO, assigned centrally.** Partner IDs are free-text on the device,
  so a typo silently creates a second partner that nobody can see. Keep the list
  somewhere authoritative and paste it.
- **Give the LCO more than one user.** A shared login makes the audit trail useless and
  means an offboarding turns into a password rotation for everyone.

The same mechanism serves your own field teams: constrain by Site, and an engineer sees
exactly their POP.

## Practical tips

- **Prefer read-only by default**: viewers can see graphs, alarms and ONU data, which
  covers most day-to-day needs; hand out admin sparingly.
- **Combine role + IP restriction for sensitive accounts**: an admin login that only works
  from the NOC subnet is a much smaller attack surface.
- When someone reports **"I can't see device X"**, check four things in order: their role,
  whether they logged out and back in, their constraints (including an accidental second
  constraint type), and whether the device actually carries the Site/Zone/Partner ID you
  expect.
- When someone reports **"I can't log in"** and you have ruled out a typo in their email,
  [set them a new password](#changing-a-users-password). They pick their own at the next
  login.
- When someone reports **"I get a permission error on one page only"**, it's usually a
  missing parent permission in a hand-built custom role. Re-open the role and re-tick the
  leaf permission so the dependency prompt fills in what's missing.

Source: https://netsense-nms.com/docs/guides/users-roles/index.mdx
