Ensure we pass users and groups to the AccessControl component

This commit is contained in:
Johannes Zellner
2025-11-07 11:02:57 +01:00
parent 5b834b4396
commit 27f975f3c5
2 changed files with 34 additions and 2 deletions
+19 -1
View File
@@ -4,7 +4,25 @@ import { onMounted } from 'vue';
import { FormGroup, Radiobutton, MultiSelect } from '@cloudron/pankow';
import { ACL_OPTIONS } from '../constants.js';
const props = defineProps([ 'users', 'groups', 'manifest', 'error', 'hideOptionalSsoOption' ]);
const props = defineProps({
users: {
type: Array,
required: true,
},
groups: {
type: Array,
required: true,
},
manifest: {
type: Object,
required: true,
},
hideOptionalSsoOption: {
type: Boolean,
default: false,
required: false,
}
});
const accessRestrictionOption = defineModel('option');
const accessRestriction = defineModel('acl');