web: bump API Client version (#9785)

* web: bump API Client version

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* don't include users in group calls

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
authentik-automation[bot]
2024-05-20 13:13:45 +00:00
committed by GitHub
parent 964c6a1050
commit 2e91b9d035
13 changed files with 16 additions and 6 deletions

8
web/package-lock.json generated
View File

@ -17,7 +17,7 @@
"@codemirror/theme-one-dark": "^6.1.2",
"@formatjs/intl-listformat": "^7.5.7",
"@fortawesome/fontawesome-free": "^6.5.2",
"@goauthentik/api": "^2024.4.2-1715271029",
"@goauthentik/api": "^2024.4.2-1716209237",
"@lit-labs/task": "^3.1.0",
"@lit/context": "^1.1.1",
"@lit/localize": "^0.12.1",
@ -2980,9 +2980,9 @@
}
},
"node_modules/@goauthentik/api": {
"version": "2024.4.2-1715271029",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2024.4.2-1715271029.tgz",
"integrity": "sha512-X+u46IzN4jDRKGusO1Ytj/pnWdVtL9K19PvdeL0Ix3R32zWz18xOcrGrY5fLxvmz1b7kuaj5ZZhkNqcVv5KUOA=="
"version": "2024.4.2-1716209237",
"resolved": "https://registry.npmjs.org/@goauthentik/api/-/api-2024.4.2-1716209237.tgz",
"integrity": "sha512-QD9ff8aC2VoJnnGISIZ3/73bpcugMfWkDcSi6peGCUb8SMXRyQJYtGXmCcN+Iq+6MlHnat/mPt67OlxQV3qdHw=="
},
"node_modules/@hcaptcha/types": {
"version": "1.0.3",

View File

@ -38,7 +38,7 @@
"@codemirror/theme-one-dark": "^6.1.2",
"@formatjs/intl-listformat": "^7.5.7",
"@fortawesome/fontawesome-free": "^6.5.2",
"@goauthentik/api": "^2024.4.2-1715271029",
"@goauthentik/api": "^2024.4.2-1716209237",
"@lit-labs/task": "^3.1.0",
"@lit/context": "^1.1.1",
"@lit/localize": "^0.12.1",

View File

@ -12,6 +12,7 @@ import { CoreApi, CoreGroupsListRequest, Group } from "@goauthentik/api";
async function fetchObjects(query?: string): Promise<Group[]> {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;

View File

@ -69,6 +69,7 @@ export class RuleForm extends ModelForm<NotificationRule, string> {
.fetchObjects=${async (query?: string): Promise<Group[]> => {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;

View File

@ -39,6 +39,7 @@ export class GroupForm extends ModelForm<Group, string> {
loadInstance(pk: string): Promise<Group> {
return new CoreApi(DEFAULT_CONFIG).coreGroupsRetrieve({
groupUuid: pk,
includeUsers: false,
});
}

View File

@ -37,6 +37,7 @@ export class GroupViewPage extends AKElement {
new CoreApi(DEFAULT_CONFIG)
.coreGroupsRetrieve({
groupUuid: id,
includeUsers: false,
})
.then((group) => {
this.group = group;
@ -199,7 +200,6 @@ export class GroupViewPage extends AKElement {
</div>
</div>
</section>
<ak-rbac-object-permission-page
slot="page-permissions"
data-tab-title="${msg("Permissions")}"

View File

@ -179,6 +179,7 @@ export class PolicyBindingForm extends ModelForm<PolicyBinding, string> {
.fetchObjects=${async (query?: string): Promise<Group[]> => {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;

View File

@ -194,6 +194,7 @@ export class GoogleWorkspaceProviderFormPage extends BaseProviderForm<GoogleWork
.fetchObjects=${async (query?: string): Promise<Group[]> => {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;

View File

@ -78,6 +78,7 @@ export class LDAPProviderFormPage extends WithBrandConfig(BaseProviderForm<LDAPP
.fetchObjects=${async (query?: string): Promise<Group[]> => {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;

View File

@ -183,6 +183,7 @@ export class MicrosoftEntraProviderFormPage extends BaseProviderForm<MicrosoftEn
.fetchObjects=${async (query?: string): Promise<Group[]> => {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;

View File

@ -119,6 +119,7 @@ export class SCIMProviderFormPage extends BaseProviderForm<SCIMProvider> {
.fetchObjects=${async (query?: string): Promise<Group[]> => {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;

View File

@ -354,6 +354,7 @@ export class LDAPSourceForm extends BaseSourceForm<LDAPSource> {
.fetchObjects=${async (query?: string): Promise<Group[]> => {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;

View File

@ -164,6 +164,7 @@ export class UserWriteStageForm extends BaseStageForm<UserWriteStage> {
.fetchObjects=${async (query?: string): Promise<Group[]> => {
const args: CoreGroupsListRequest = {
ordering: "name",
includeUsers: false,
};
if (query !== undefined) {
args.search = query;