fix(删除写死的权限枚举类):

This commit is contained in:
Ftz123456 2024-01-25 17:15:01 +08:00
parent 194a62d09e
commit 85e717da17
2 changed files with 0 additions and 59 deletions

View File

@ -1,30 +0,0 @@
package com.zsc.edu.bill.common.enums;
import org.springframework.security.core.GrantedAuthority;
/**
* @author ftz
* 创建时间:11/1/2024 下午1:54
* 描述: 审核员权限
*/
public enum Auditor implements GrantedAuthority {
/**
* 用户管理
*/
USER_QUERY,
USER_CREATE,
/**
* 审核票据
*/
AUDIT_TICKET_QUERY,
AUDIT_TICKET_UPDATE;
@Override
public String getAuthority() {
return name();
}
}

View File

@ -1,29 +0,0 @@
package com.zsc.edu.bill.common.enums;
import org.springframework.security.core.GrantedAuthority;
/**
* @author ftz
* 创建时间:11/1/2024 下午2:04
* 描述: TODO
*/
public enum RegularUsers implements GrantedAuthority {
/**
* 用户管理
*/
USER_QUERY,
USER_CREATE,
USER_UPDATE,
/**
* 票据管理
*/
TICKET_QUERY,
TICKET_CREATE,
TICKET_UPDATE,
TICKET_DELETE;
@Override
public String getAuthority() {
return name();
}
}