@komune-io/im-user-domain 0.16.0-alpha.d20a72f → 0.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -599,6 +599,7 @@ export declare namespace io.komune.im.f2.user.domain.command {
|
|
|
599
599
|
readonly address?: io.komune.im.commons.model.AddressDTO;
|
|
600
600
|
readonly phone?: string;
|
|
601
601
|
readonly roles: string[];
|
|
602
|
+
readonly memberOf?: string;
|
|
602
603
|
readonly attributes?: Record<string, string>;
|
|
603
604
|
|
|
604
605
|
}
|
|
@@ -655,6 +656,7 @@ export declare namespace io.komune.im.f2.user.domain.policies {
|
|
|
655
656
|
checkRefList(authedUser: io.komune.im.commons.auth.AuthedUserDTO): boolean;
|
|
656
657
|
canCreate(authedUser: io.komune.im.commons.auth.AuthedUserDTO, organizationId?: string): boolean;
|
|
657
658
|
canUpdate(authedUser: io.komune.im.commons.auth.AuthedUserDTO, user: io.komune.im.f2.user.domain.model.UserDTO): boolean;
|
|
659
|
+
canUpdateMemberOf(authedUser: io.komune.im.commons.auth.AuthedUserDTO): boolean;
|
|
658
660
|
canDisable(authedUser: io.komune.im.commons.auth.AuthedUserDTO, user: io.komune.im.f2.user.domain.model.UserDTO): boolean;
|
|
659
661
|
canDelete(authedUser: io.komune.im.commons.auth.AuthedUserDTO, user: io.komune.im.f2.user.domain.model.UserDTO): boolean;
|
|
660
662
|
};
|