ui/RoleGrantOfferForm.svelte view source
import RoleGrantOfferForm from '@fuzdev/fuz_app/ui/RoleGrantOfferForm.svelte'; scope_kind?
string | nullscope_id?
Branded | nullto_account_id
Brandedto_actor_id?
Narrow the offer to a specific actor on to_account_id. Omit
(or null, the default) for the account-grain default — any
actor on the recipient account may accept.
Branded | nullnullroles
Roles the caller may offer — caller filters upstream (default: admin-grant-path).
string[]on_created?
(offer: { id: Branded<string, "Uuid">; from_actor_id: Branded<string, "Uuid">; to_account_id: Branded<string, "Uuid">; to_actor_id: Branded<string, "Uuid"> | null; ... 11 more ...; resulting_role_grant_id: Branded<...> | null; }) => voidsnippet parameters
offer RoleGrantOfferJsonformat_role?
(role: string) => string(role: string) => rolesnippet parameters
role string