曲靖师范学院学报 ›› 2016, Vol. 35 ›› Issue (6): 42-47.

• 计算机科学研究 • 上一篇    下一篇

基于系统菜单项的用户权限管理实现

娄七明1,刘昆2,杨波1   

  1. 1.红河学院 工学院,云南 蒙自 661100;
    2.曲靖师范学院 信息工程学院,云南 曲靖 655011
  • 收稿日期:2016-06-22 出版日期:2016-11-26
  • 作者简介:娄七明,红河学院工学院副教授,主要从事管理信息系统研发、数据库系统及应用研究

Implementation of User Authority Management Based on System Menu Items

Lou Qiming1, Liu Kun2,Yang Bo1   

  1. 1.School of Engineering,Honghe University,MengZi Yunnan 66110;
    2. School of Information Engineering, Qujing Normal University, Qujing Yunnan 655011, P. R. China
  • Received:2016-06-22 Published:2016-11-26

摘要: 用户权限管理是数据库系统最基本、最重要的功能之一.首先探讨了常用的用户权限控制方法及其特点;然后提出了一种基于菜单项的通用角色权限控制方法,并给出了数据库表的设计,菜单项遍历类的定义和实现,以及基于树形结构的角色权限设置窗口的实现.最后,结合开放式机房管理系统,介绍了这种方法在系统中的应用.

关键词: 遍历菜单, 角色权限, 用户权限, 泛型队列

Abstract: The management of user authority is one of the basic and important functions of a system. Firstly, the frequently used methods of control user authorities and their characteristics are explored. Secondly, a general user authority management method based on menu items is proposed, and then the design of the tables, the design and implementation of the menu item traversal class, and the design and implementation of a window using a tree-view to set role permissions are given. Finally, the application of this method in an open computer-room management system is introduced.

Key words: menu item traversal, role permission, user permission, generic queue

中图分类号: