add isFromInstance role condition
This commit is contained in:
@@ -47,6 +47,15 @@ type CondFormulaValueIsRemote = {
|
||||
type: 'isRemote';
|
||||
};
|
||||
|
||||
/**
|
||||
* User is from a specific instance
|
||||
*/
|
||||
type CondFormulaValueIsFromInstance = {
|
||||
type: 'isFromInstance';
|
||||
host: string;
|
||||
subdomains: boolean;
|
||||
};
|
||||
|
||||
/**
|
||||
* 既に指定のマニュアルロールにアサインされている場合のみ成立とする
|
||||
*/
|
||||
@@ -160,6 +169,7 @@ export type RoleCondFormulaValue = { id: string } & (
|
||||
CondFormulaValueNot |
|
||||
CondFormulaValueIsLocal |
|
||||
CondFormulaValueIsRemote |
|
||||
CondFormulaValueIsFromInstance |
|
||||
CondFormulaValueIsSuspended |
|
||||
CondFormulaValueIsLocked |
|
||||
CondFormulaValueIsBot |
|
||||
|
||||
Reference in New Issue
Block a user