Skip to main content

List Roles

1. Roles Viewing

Roles List Viewing Sequence

StepActionDetails
1Access List RolesNavigate to Roles & Permissions > List Roles from the main navigation menu.
2View Page HeaderReview the page title "Role Management" at the top of the page.
3View Roles TableReview the table displaying all roles with their details including Name, Description, Permissions Count, Created At, and Updated At columns.
4Review Role InformationEach row shows complete information for a single role in the system.

Roles Table Columns

ColumnDescription
SelectCheckbox for selecting individual roles for batch operations.
NameThe unique name identifier for the role (e.g., Admin, Operator, Super admin).
DescriptionDetailed description explaining the purpose and scope of the role.
Permissions CountTotal number of permissions assigned to this role (e.g., "14 permissions").
Created AtDate and timestamp when the role was first created in M/D/YYYY, H:MM:SS AM/PM format.
Updated AtDate and timestamp of the most recent modification to the role in M/D/YYYY, H:MM:SS AM/PM format.
ActionsOpen menu button (three dots icon) providing access to Edit and Delete options.

Existing Roles Overview

Role NamePermissions CountDescriptionPurpose
Xmarket Ops Team1Xmarket Ops Team All market activities.

2. Role Creation

Role Creation Initiation Sequence

StepActionDetails
1Click Add Role ButtonLocate and click the Add Role button at the top of the page, next to the page title.
2Open Creation DialogA dialog titled "Create New Role" appears with the subtitle "Add a new role to the system."
3View Empty FormThe dialog displays empty fields for Role Name, Description, and a list of available permissions.

Role Creation Fields Completion Sequence

StepActionDetails
1Enter Role NameType a unique name for the role in the Role Name textbox (required field).
2Enter DescriptionType a clear description explaining the role's purpose and scope in the Description textbox (required field).
3Review Permissions ListScroll through the list of 21 available permissions displayed with checkboxes.
4Select PermissionsCheck the boxes next to each permission you want to assign to this role.
5Review SelectionsVerify all selected permissions align with the role's intended purpose.
6Save or CancelClick Save to create the role or Close to discard and return to the roles list.

Role Creation Dialog Fields

FieldDescriptionRequired
Role NameUnique identifier for the role (e.g., "Content Manager", "Reviewer"). Must be unique across all roles.Yes
DescriptionDetailed explanation of the role's purpose, responsibilities, and scope. Helps administrators understand when to assign this role.Yes
Select PermissionsList of checkboxes for all 21 available system permissions. Check each permission to include in the role.At least one

3. Role Editing

Role Editing Access Sequence

StepActionDetails
1Locate RoleFind the role you want to edit in the Roles List table.
2Click Open MenuClick the Open menu button (three dots icon) in the Actions column for the selected role.
3Select Edit OptionA dropdown menu appears with Edit and Delete options. Click Edit.
4Open Edit DialogThe "Edit Role" dialog appears with the subtitle "Edit an existing role's details."
5View Current SettingsAll fields are pre populated with the role's current name, description, and permission selections.

Role Editing Modification Sequence

StepActionDetails
1Modify Role NameUpdate the text in the Role Name field if you want to rename the role (optional).
2Modify DescriptionUpdate the text in the Description field to clarify or expand the role's purpose (optional).
3Review Current PermissionsScroll through the permissions list to see which permissions are currently checked for this role.
4Add PermissionsCheck additional permission boxes to grant new capabilities to the role.
5Remove PermissionsUncheck permission boxes to revoke capabilities from the role.
6Verify ChangesReview all modifications to ensure they align with the role's intended purpose.
7Save or CancelClick Save to apply changes or Close to discard modifications and return to the roles list.

Edit Role Dialog Behavior

BehaviorDescription
Pre Populated FieldsAll fields display current values when the dialog opens, allowing you to see existing settings before making changes.
Checked PermissionsPermissions currently assigned to the role appear with checked boxes, making it easy to see current capabilities.
Unchecked PermissionsPermissions not assigned to the role appear with unchecked boxes, ready to be selected if needed.
Save Updates ImmediatelyClicking Save applies all changes immediately and updates the Updated At timestamp in the table.

4. Role Deletion

Role Deletion Sequence

StepActionDetails
1Locate RoleFind the role you want to delete in the Roles List table.
2Click Open MenuClick the Open menu button (three dots icon) in the Actions column for the selected role.
3Select Delete OptionA dropdown menu appears with Edit and Delete options. Click Delete.
4Confirm DeletionA confirmation dialog may appear asking you to confirm the deletion (implementation dependent).
5Complete DeletionThe role is removed from the system and disappears from the roles list.

Role Deletion Considerations

ConsiderationDetails
Irreversible ActionOnce a role is deleted, it cannot be recovered. You must recreate it manually if needed.
User ImpactDeleting a role affects all users currently assigned to that role. Plan user reassignments before deletion.
Permission LossUsers assigned to the deleted role lose all associated permissions immediately upon deletion.
System RolesSome system critical roles may be protected from deletion to maintain platform functionality.

5. Search Function

Role Search Sequence

StepActionDetails
1Locate Search FieldFind the "Search roles..." textbox at the top of the page, below the Add Role button.
2Enter Search TermType keywords related to the role name or description you want to find.
3View Filtered ResultsThe table updates automatically to show only roles matching your search criteria.
4Review MatchesExamine the filtered results to find the specific role you need.

Search Behavior

BehaviorDescription
Real Time FilteringThe table updates dynamically as you type, providing instant feedback on search results.
Case SensitivitySearch may be case sensitive depending on implementation. Try both lowercase and title case if needed.
No Results DisplayWhen no roles match your search, the table shows "No data found." message.

6. Available Permissions Catalog

Permissions Management Category

PermissionDisplay NameDescriptionKey
Manage PermissionsManage PermissionsView all permissions and assign rolesroles_manage
List RolesList RolesView all roles and role informationroles_list
List PermissionsList PermissionsView all permissions and permission matrixpermissions_list

Markets Category

PermissionDisplay NameDescriptionKey
Admin Market ManagementAdmin Market ManagementManage admin created marketsadmin_market
Creator Market ManagementCreator Market ManagementManage creator submitted marketscreator_market
Market CategoriesMarket CategoriesManage market categoriesmarket_categories
Market TagsMarket TagsManage market tagsmarket_tags

Presale Category

PermissionDisplay NameDescriptionKey
Presale Pending ReviewPresale Pending ReviewReview and approve presale market submissionspresale_pending_review
Presale Revenue SharePresale Revenue ShareManage presale revenue distributionpresale_revenue_share
Presale Fee SharesPresale Fee SharesManage presale fee structurespresale_fee_shares

Users Category

PermissionDisplay NameDescriptionKey
Back office Staff ManagementBack office Staff ManagementManage back office staff users and rolesback_office_staff
Platform Users ManagementPlatform Users ManagementManage platform usersplatform_users
User DepositsUser DepositsManage user depositsuser_deposits
User WithdrawalsUser WithdrawalsManage user withdrawalsuser_withdrawals

System Category

PermissionDisplay NameDescriptionKey
Governance ManagementGovernance ManagementManage governance settings, revenue buyback and token burngovernance_manage
System ConfigurationSystem ConfigurationConfigure system settings and variablessystem_configuration
QT and Fees ManagementQT and Fees ManagementManage QT tokens and fee parameterssystem_qt_and_fees
Bot ManagementBot ManagementManage bot operations and configurationsbot_management
Dashboard AnalyticsDashboard AnalyticsAccess to dashboard analytics and system metricsdashboard_analytics
ReferralReferralView all referralsreferral

7. Select All Function

Select All Roles Sequence

StepActionDetails
1Locate Select All CheckboxFind the checkbox in the table header row labeled "Select all".
2Click Select AllClick the checkbox to select all visible roles on the current page.
3View Selected RowsAll role rows display checked checkboxes indicating they are selected.
4Perform Batch DeteleUse selected roles for bulk Deletion.
5Deselect AllClick the Select all checkbox again to deselect all roles.

Select All Behavior

BehaviorDescription
Current Page OnlySelect all affects only roles visible on the current page, not all roles across all pages.
Visual FeedbackSelected rows may display visual highlighting to indicate selection status.
Individual SelectionYou can also click individual row checkboxes to select specific roles one at a time.

Overview

Back-office staff must be assigned the permission key to access and whitelisted to operate market.

No.FeaturePermission KeyWhitelist Type
1Roles List Viewingroles_list-
2Role Creationroles_list-
3Role Editingroles_list-
4Role Deletionroles_list-
5Search Functionroles_list-

Roles List Viewing

StepInstruction
1Navigate to Roles & Permissions > List Roles from the main navigation menu.
2The page displays "Role Management" as the title with 5 existing roles.
3Review the table showing: Xmarket Ops Team (1 perm), Treasury Ops (2 perms), Admin (14 perms), Operator (7 perms), Super admin (21 perms).
4Each role row displays Name, Description, Permissions Count, Created At, Updated At, and Actions.
5Use the table to understand current role structure and permission distribution in the system.

Role Creation

StepInstruction
1Click the Add Role button at the top of the page.
2The "Create New Role" dialog opens with empty fields.
3Enter a unique Role Name that clearly identifies the role's purpose.
4Enter a detailed Description explaining when and why to assign this role.
5Scroll through the list of 21 permissions and check each one needed for this role.
6Verify all selections align with the role's intended responsibilities.
7Click Save to create the role or Close to cancel.
8The new role appears in the table with current timestamps and permission count.

Role Editing

StepInstruction
1Locate the role to edit in the Roles List table.
2Click the Open menu button (three dots) in the Actions column.
3Select Edit from the dropdown menu.
4The "Edit Role" dialog opens with all fields pre populated with current values.
5Modify the Role Name if renaming the role (optional).
6Update the Description to clarify the role's purpose (optional).
7Check additional permission boxes to grant new capabilities to the role.
8Uncheck permission boxes to revoke capabilities from the role.
9Click Save to apply all changes or Close to discard modifications.
10The Updated At timestamp in the table updates to reflect the modification time.

Role Deletion

StepInstruction
1Locate the role to delete in the Roles List table.
2Click the Open menu button (three dots) in the Actions column.
3Select Delete from the dropdown menu.
4Confirm the deletion if prompted by a confirmation dialog.
5The role is permanently removed from the system and disappears from the table.
6Note: Users previously assigned this role lose all associated permissions immediately.

Search Function

StepInstruction
1Locate the "Search roles..." textbox at the top of the page.
2Type keywords from the role name or description you want to find.
3The table filters automatically to show only matching roles.
4If no matches are found, "No data found." appears in the table.
5Clear the search field to return to viewing all roles.

Product Glossary

TermDescription
List RolesThe administrative interface for viewing, creating, editing, and deleting user roles in the X Market platform.
RoleA named collection of permissions that defines what actions a user can perform in the system. Roles are assigned to users to grant them specific capabilities.
Role ManagementThe system for creating, modifying, and organizing roles to control user access and capabilities across the platform.
Role NameThe unique identifier for a role used throughout the system (e.g., Admin, Operator, Super admin). Must be unique and descriptive.
DescriptionExplanatory text that clarifies the purpose, scope, and appropriate use cases for a role.
PermissionA specific capability or access right that can be granted to a role, allowing users with that role to perform particular actions in the system.
Permissions CountThe total number of permissions assigned to a role, displayed in the format "X permissions" (e.g., "14 permissions").
Select PermissionsThe section in role creation/edit dialogs displaying all available permissions as checkboxes for assignment to the role.
Add Role ButtonAction button at the top of the page that opens the Create New Role dialog for adding new roles to the system.
Create New Role DialogModal window for creating a new role, containing fields for Role Name, Description, and permission selection.
Edit Role DialogModal window for modifying an existing role's name, description, and permission assignments.
Open Menu ButtonAction button (three dots icon) in the Actions column that reveals Edit and Delete options for a role.
Search Roles FieldText input field for filtering the roles table by searching for keywords in role names or descriptions.
Roles List TableThe main data table displaying all roles with columns for selection, name, description, permissions count, timestamps, and actions.
Created AtTimestamp indicating when a role was first created in the system, displayed in M/D/YYYY, H:MM:SS AM/PM format.
Updated AtTimestamp showing the most recent modification to a role, displayed in M/D/YYYY, H:MM:SS AM/PM format.
Xmarket Ops TeamExisting role with 1 permission designed for operational team members handling market activities with restrictions on fee settings and withdrawal approval.
Treasury OpsExisting role with 2 permissions focused on treasury and financial management operations.
AdminExisting role with 14 permissions providing administrative access including user management and most platform functions.
OperatorExisting role with 7 permissions designed for day to day operational market tasks with standard management permissions.
Super adminExisting role with all 21 permissions providing complete system access and control over all platform functions.
Manage PermissionsPermission allowing users to view all permissions and assign roles to other users. Code: roles_manage.
Admin Market ManagementPermission for managing admin created markets. Code: admin_market.
Creator Market ManagementPermission for managing creator submitted markets. Code: creator_market.
Market CategoriesPermission for managing market categories. Code: market_categories.
Market TagsPermission for managing market tags. Code: market_tags.
Presale Pending ReviewPermission for reviewing and approving presale market submissions. Code: presale_pending_review.
Presale Revenue SharePermission for managing presale revenue distribution. Code: presale_revenue_share.
Presale Fee SharesPermission for managing presale fee structures. Code: presale_fee_shares.
Back office Staff ManagementPermission for managing back office staff users and their role assignments. Code: back_office_staff.
Platform Users ManagementPermission for managing platform users. Code: platform_users.
User DepositsPermission for managing user deposit transactions. Code: user_deposits.
User WithdrawalsPermission for managing user withdrawal transactions. Code: user_withdrawals.
Governance ManagementPermission for managing governance settings, revenue buyback, and token burn operations. Code: governance_manage.
System ConfigurationPermission for configuring system settings and variables. Code: system_configuration.
QT and Fees ManagementPermission for managing QT tokens and fee parameters. Code: system_qt_and_fees.
Bot ManagementPermission for managing bot operations and configurations. Code: bot_management.
List Roles PermissionPermission for viewing all roles and role information. Code: roles_list.
Dashboard AnalyticsPermission for accessing dashboard analytics and system metrics. Code: dashboard_analytics.
ReferralPermission for viewing all referral related data. Code: referral.
Permission CodeThe unique system identifier for a permission, used internally by the platform (e.g., roles_manage, admin_market).
Save ButtonConfirmation button in creation/edit dialogs that applies changes and closes the dialog.
Close ButtonAction button in dialogs that discards unsaved changes and returns to the roles list.
No Data FoundMessage displayed in the table when search filters return no matching roles.
Real Time FilteringSearch functionality that updates table results dynamically as keywords are typed.
System Critical RolesRoles essential for platform operation that may be protected from deletion to maintain functionality.
Pre Populated FieldsForm fields in the Edit Role dialog that display current values when opened, ready for modification.
Case SensitivitySearch behavior characteristic where uppercase and lowercase letters are treated differently in search queries.