-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1027 from umbraco/feature/send-user-invite
- Loading branch information
Showing
50 changed files
with
369 additions
and
386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
import { manifest as userAllowDisableActionManifest } from './user-allow-disable-action.condition.js'; | ||
import { manifest as userAllowEnableActionManifest } from './user-allow-enable-action.condition.js'; | ||
import { manifest as userAllowUnlockActionManifest } from './user-allow-unlock-action.condition.js'; | ||
import { manifest as userAllowResendInviteActionManifest } from './user-allow-resend-invite-action.condition.js'; | ||
import { manifest as userAllowDeleteActionManifest } from './user-allow-delete-action.condition.js'; | ||
|
||
export const manifests = [ | ||
userAllowDisableActionManifest, | ||
userAllowEnableActionManifest, | ||
userAllowUnlockActionManifest, | ||
userAllowResendInviteActionManifest, | ||
userAllowDeleteActionManifest, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const UMB_USER_ENTITY_TYPE = 'user'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './components/index.js'; | ||
export * from './invite/index.js'; | ||
export * from './repository/index.js'; | ||
export * from './types.js'; |
7 changes: 2 additions & 5 deletions
7
...n/action/invite-user.collection-action.ts → ...n-action/invite-user.collection-action.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/packages/user/user/invite/collection-action/manifests.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { UmbInviteUserCollectionAction } from './invite-user.collection-action.js'; | ||
import { UMB_COLLECTION_ALIAS_CONDITION } from '@umbraco-cms/backoffice/collection'; | ||
import { ManifestTypes } from '@umbraco-cms/backoffice/extension-registry'; | ||
|
||
export const inviteManifest: ManifestTypes = { | ||
type: 'collectionAction', | ||
kind: 'button', | ||
name: 'Invite User Collection Action', | ||
alias: 'Umb.CollectionAction.User.Invite', | ||
api: UmbInviteUserCollectionAction, | ||
weight: 100, | ||
meta: { | ||
label: 'Invite', | ||
}, | ||
conditions: [ | ||
{ | ||
alias: UMB_COLLECTION_ALIAS_CONDITION, | ||
match: 'Umb.Collection.User', | ||
}, | ||
], | ||
}; | ||
|
||
export const manifests = [inviteManifest]; |
Oops, something went wrong.