OAuth Project & Client Permission Management

OAuth Project & Client Permission Management

Overview

The OAuth Project & Client Permission module controls which roles can access, configure, and manage OAuth projects and client credentials within the system. Permissions are managed under System Configuration > User Roles Permission > All Permission, filtered under the Developer permission tab.


Permission Levels

Default Acess
There are two default permission tiers applied across all user roles:
Role TypeDeveloper Configuration AccessView Other ProjectsManage Own ProjectManage Other Projects
SuperadminFull access (default)✅✅✅
Standard User❌ (unless granted)✅ (view only)✅❌ (unless granted)

Available Permission Flags
The following permission flags are available under the Developer tab:
Permission FlagDescriptionDefault StateWho Can Enable
Allow to access developer configurationGrants access to developer-level system settings (portal.xilnex.com/Developer)Disabled for non-superadmin accountMust be explicitly enabled by Superadmin
Allow to manage all OAuth ProjectsGrants ability to create, edit, and delete OAuth projects and client credentials beyond the user's ownStandard users manage own projects onlyMust be explicitly enabled by Superadmin


Permission Matrix by Use Case

Use CaseRequired Permission Flag
User needs to view their own and others' OAuth projectsDefault (no change needed)
User needs to configure developer settingsAllow to access developer configuration
User needs to manage (edit/delete) other users' projectsAllow to manage all OAuth Projects
Full control (equivalent to Superadmin)Both flags enabled


Granting Elevated Permissions

To grant a role elevated OAuth access:
  1. Navigate to System Configuration > User Roles Permission > All Permission.
    https://portal.xilnex.com/SystemConfiguration/UserRolesPermission/AllPermission
  2. Select the Developer tab from the More dropdown in the top navigation.

  3. Locate the permission row: Allow to access developer configuration or Allow to manage all OAuth Projects.
  4. Check the checkbox under the target role column to enable the permission.
  5. Done.

Granting Access to Third-Party Developers

If your organization engages an external or third-party developer, use this permission configuration to provide scoped, least-privilege access to the portal.
  1. Create a new user account for the third-party developer under System Configuration > User Management > User List.
    https://portal.xilnex.com/SystemConfiguration/UserManagement/UserList
  2. Assign the account a dedicated role (e.g., Developer - External) to distinguish it from internal users. Avoid reusing existing role profiles.
  3. Navigate to System Configuration > User Roles Permission > All Permission and select the Developer tab.
    https://portal.xilnex.com/SystemConfiguration/UserRolesPermission/AllPermission
  4. Disable all permissions for the assigned role by unchecking all flags across the permission matrix.
  5. Enable only the following flag:
    Permission FlagActionRationale
    Allow to access developer configuration✅ EnableGrants the third-party developer access to OAuth and developer settings scoped to their own projects only
    Allow to manage all OAuth Projects❌ Leave disabled (default)Prevents the external developer from modifying or deleting projects and clients that belong to other users
  6. If the third-party developer is explicitly required to manage other projects or clients, additionally enable:
    Permission FlagAction
    Allow to manage all OAuth Projects✅ Enable with documented approval
Warning
Security Advisory: Enabling Allow to manage all OAuth Projects for an external party grants them write and delete access to all OAuth clients in the system. This should only be approved with a formal access request and reviewed periodically. Revoke access immediately upon project completion.