Skip to content

Erupt UPMS Permission Management

erupt-upms provides a complete User and Permission Management System (UPMS), including core features such as users, roles, menus, and organizations. All management interfaces are automatically generated by the @Erupt annotation.

Adding the Dependency

erupt-upms is bundled inside erupt-admin — no need to add it separately:

xml
<dependency>
  <groupId>xyz.erupt</groupId>
  <artifactId>erupt-admin</artifactId>
  <version>${erupt.version}</version>
</dependency>

Feature Overview

Menu NameDescriptionEntity Class
Menu ManagementMenu configuration and interface permissionsEruptMenu.java
Organization ManagementTree-based organization hierarchy maintenanceEruptOrg.java
Position ManagementUser position managementEruptPost.java
Role ManagementRole-based menu permission assignmentEruptRole.java
User ManagementSystem user managementEruptUser.java
Dictionary ManagementData dictionary (key-value)EruptDict.java
Login LogsLogin history recordsEruptLoginLog.java
Operation LogsRecords of create/update/delete operationsEruptOperateLog.java
Open APIOpen API interface managementEruptOpenApi

Used to manage the system menu list and interface permissions. Menu types and their values:

Menu TypeType ValueDescription
TableErupt class name (case-insensitive)Displays a table view
TreeErupt class name (case-insensitive)Displays a tree view
LinkA URLOpens inside the menu container
New TabA URLOpens in a new browser tab
Page RouteRoute pathRouter hash value
ButtonPermission stringControls button visibility
Interface NameInterface nameInterface permission string
ReportReport codeRequires the erupt-chart module
TemplateTemplate filename (under the tpl directory)Requires the erupt-tpl module
Full ScreenRoute pathDisplays page in full screen

Icon reference: https://www.thinkcmf.com/font/search/index.html

Organization Management

Maintains organizational information using a tree structure, supporting multi-level hierarchies.

Role Management

Used to assign menu permissions with fine-grained access control. A user can hold multiple roles; permissions are merged as a union.

User Management

The left panel shows the organization tree; the right panel shows the user list. User configuration options:

OptionDescription
Home URLThe page path to redirect to after login
Account StatusActive allows login; Locked disables login
MD5 EncryptionPassword is stored using MD5 hashing
Assigned RolesThe user can access menus configured for their roles
IP WhitelistValidates the source IP on login; leave empty to skip validation

Dictionary Management

Used to manage simple key-value platform data, such as ethnicity, country, HTTP request types, protocol types, etc. The dictionary code is a unique identifier used to look up the corresponding data.

Open API

Manages external system access credentials (APPID + Secret), allowing external systems to obtain an erupt token via appid + secret and then call protected erupt interfaces.

For detailed usage, see Open API →

Contributors

The avatar of contributor named as YuePeng YuePeng

Changelog

Released under the Apache-2.0 License.