-
Notifications
You must be signed in to change notification settings - Fork 25
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 #1394 from SciCatProject/fix-user-identities-isval…
…idemail-access fix: fixed permissions on user identities and improved swagger documentation
- Loading branch information
Showing
2 changed files
with
93 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -925,6 +925,30 @@ export const samplesFullQueryDescriptionFields = | |
}\n \ | ||
</pre>'; | ||
|
||
export const filterUserIdentityExample = | ||
'{ "profile.email": "[email protected]" }'; | ||
|
||
export const filterUserIdentityDescription = | ||
'<pre>\n \ | ||
[email protected]\n \ | ||
or \n \ | ||
{\n \ | ||
"email": "[email protected]"\n \ | ||
}\n \ | ||
or \n \ | ||
{\n \ | ||
"profile.email": "[email protected]"\n \ | ||
}\n \ | ||
or \n \ | ||
{\n \ | ||
"where?": {\n \ | ||
"profile.email": "[email protected]"\n \ | ||
}\n \ | ||
}\n \ | ||
This last version is deprecated and will be discontinued as soon as the FE is updated.\n \ | ||
It has been maintanined for backward compatibility.\n \ | ||
</pre>'; | ||
|
||
export const parseBoolean = (v: unknown): boolean => { | ||
switch (v) { | ||
case true: | ||
|
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