add section admin permission
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package ru.soune.nocopy.adminpanel.entity;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum PermissionType {
|
||||
READ(0b01), NONE(0b00), WRITE_AND_READ(0b11);
|
||||
|
||||
private final Integer value;
|
||||
|
||||
PermissionType(Integer value) {
|
||||
this.value = value;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user