adding and importing accessrights.jdl with spotless
This commit is contained in:
24
src/main/jdl/accessrights.jdl
Normal file
24
src/main/jdl/accessrights.jdl
Normal file
@@ -0,0 +1,24 @@
|
||||
filter all
|
||||
paginate all with infinite-scroll
|
||||
|
||||
enum UserRole {
|
||||
HOSTMASTER,
|
||||
ADMIN,
|
||||
SUPPORTER,
|
||||
CONTRACTUAL_CONTACT,
|
||||
FINANCIAL_CONTACT,
|
||||
TECHNICAL_CONTACT,
|
||||
CUSTOMER_USER
|
||||
}
|
||||
|
||||
entity UserRoleAssignment {
|
||||
entityTypeId String,
|
||||
entityObjectId Long,
|
||||
userId Long required,
|
||||
assignedRole UserRole required
|
||||
}
|
||||
|
||||
|
||||
relationship ManyToOne {
|
||||
UserRoleAssignment{user(login)} to User{required},
|
||||
}
|
||||
Reference in New Issue
Block a user