implement DEV workspace and project automation authority
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package p.studio.api.automation;
|
||||
/** A typed admission failure; adapters must preserve the domain status. */
|
||||
public final class ControlDeniedException extends IllegalStateException {
|
||||
private final ControlResult.Status status;
|
||||
public ControlDeniedException(ControlResult.Status status) {
|
||||
super("Project control: " + status);
|
||||
this.status = status;
|
||||
}
|
||||
public ControlResult.Status status() { return status; }
|
||||
}
|
||||
Reference in New Issue
Block a user