-
Notifications
You must be signed in to change notification settings - Fork 0
Admin Guide
This page is still being expanded.
- Page:
/admin.html
Admin login uses web account/password, but the account must also exist in admin records (web_admins).
config.yml enables this by default:
webshop:
admin-bootstrap:
enabled: true
username: admin
password: admin123456
role: SUPER_ADMINRecommendations:
- Change password immediately after first login.
- In production, disable or replace default bootstrap account.
REDEEM_MANAGEPRODUCT_MANAGEPRODUCT_ZERO_PRICEORDER_VIEWECONOMY_MANAGEMARKET_MANAGEUSER_SUPPORTAUDIT_VIEW
SUPER_ADMINSHOP_ADMINSUPPORT_ADMINMARKET_MODERATORAUDITOR
The admin console supports a combined model: template + custom permissions per admin account.
Super admins can use:
- Admin metadata:
GET /api/admin/admin-users/meta - Admin list:
GET /api/admin/admin-users/list - Admin upsert:
POST /api/admin/admin-users/upsert - Enable/disable admin:
POST /api/admin/admin-users/active
- Reset password
- Unbind account
- Force logout
- Wallet adjustment
- Query audit records
All critical admin actions record operator, action, target, and source IP.
- Command-based
- Item delivery
- Potion effect delivery
- Recycle
- Group-buy voucher
- Enable dynamic pricing only for
GIVE_ITEM/RECYCLE_ITEM. - Set
dynamic_floor_priceanddynamic_cap_priceto limit price volatility. - Watch
dynamic_demand_scoreto evaluate market heat changes.
- Use
lookupfirst to verify user and binding status. - Perform reset/unbind/force logout only when necessary.
- Always provide clear
reasonfor wallet adjustments for audit clarity. - For disputed orders, check order status and delivery queue status first.
- Use strong passwords for super admin accounts and strictly limit personnel.
- Review admin permissions regularly and apply least privilege.
Warning
Wiki 已迁移至 https://docs.akihito.dpdns.org/category/webshopx/ ,当前 Wiki 不再更新,并将弃用。 This wiki has moved to https://docs.akihito.dpdns.org/category/webshopx/ . It is no longer updated and will be deprecated soon.
- 本 Wiki基于 WebShopX v1.1.2 编写。
- This Wiki is based on WebShopX v1.1.2.
Warning
Wiki 已迁移至 https://docs.akihito.dpdns.org/category/webshopx/ ,当前 Wiki 不再更新,并将弃用。 This wiki has moved to https://docs.akihito.dpdns.org/category/webshopx/ . It is no longer updated and will be deprecated soon.