Files
MemRelay/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/决策:权限模型改为动作型资源权限.md

19 lines
984 B
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: 决策:权限模型改为动作型资源权限
type: decision
permalink: main/projects/d5a7f581-c442-4554-87b9-ee723b8b0258/决策权限模型改为动作型资源权限
stable_id: 761650df-f1df-4e5a-b23a-adf2d01d5c9f
scope: project
project_id: d5a7f581-c442-4554-87b9-ee723b8b0258
memory_type: decision
status: active
revision: 1
restored_from_commit: 6a6a895eafcca6052e81a14fca103a42635dd1c2
created_at: '2026-09-23T15:09:47.053847+00:00'
updated_at: '2026-09-23T15:09:47.053908+00:00'
tags:
- decision
- rbac
---
从“路由型页面权限 + 功能权限”双轨制重构为纯动作型资源权限:`action:<resource>:<action>`(create/delete/update/read/operate,部分资源有 manage_others),`read` 充当页面/导航访问门槛,授予任一动作自动展开 read。原因:双轨制导致授权界面混乱(勾了功能权限进不了页面),合并后授权心智模型简单一致。项目开发期无存量用户,直接改不做兼容。