noDifferentUserForTheSameRequest fixed
This commit is contained in:
parent
19dced1ec5
commit
3c020cf42f
@ -297,7 +297,9 @@ fact noMultipleUsersForTheSameRequest {
|
|||||||
|
|
||||||
// The same Request cannot be performed by two different User
|
// The same Request cannot be performed by two different User
|
||||||
fact noDifferentUserForTheSameRequest {
|
fact noDifferentUserForTheSameRequest {
|
||||||
all r : RMSS | r in r.user.request
|
(all u1, u2 : User | u1 != u2 implies
|
||||||
|
(no r : RMSS | r in u1.request and r in u2.request)
|
||||||
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
// The same User cannot have two ACTIVE Requests
|
// The same User cannot have two ACTIVE Requests
|
||||||
|
Loading…
Reference in New Issue
Block a user