View Source Bonfire.Boundaries.Acls (bonfire v0.3.5-classic-beta.7)

acls represent fully populated access control rules that can be reused

Link to this section Summary

Functions

Fully delete the ACL, including permissions/grants and controlled information. This will affect all objects previously shared with this ACL.

Lists ACLs we are permitted to see.

Lists the ACLs we are the registered caretakers of that we are permitted to see. If any are created without permitting the user to see them, they will not be shown.

query for list_my

Soft-delete the ACL, meaning it will not be displayed anymore, but permissions/grants and controlled information will be preserved. This will not affect objects previously shared with this ACL.

Link to this section Functions

Link to this function

cast(changeset, creator, opts)

View Source
Link to this function

changeset(atom, attrs, opts)

View Source
Link to this function

create(attrs \\ %{}, opts)

View Source

Fully delete the ACL, including permissions/grants and controlled information. This will affect all objects previously shared with this ACL.

Link to this function

find_caretaker_stereotypes(caretaker, stereotypes)

View Source
Link to this function

get_for_caretaker(id, caretaker, opts \\ [])

View Source
Link to this function

get_for_caretaker_q(id, caretaker, opts \\ [])

View Source

Lists ACLs we are permitted to see.

Link to this function

list_my(user, opts \\ [])

View Source

Lists the ACLs we are the registered caretakers of that we are permitted to see. If any are created without permitting the user to see them, they will not be shown.

Link to this function

list_my_q(user, opts \\ [])

View Source

query for list_my

Link to this function

list_my_with_counts(user, opts \\ [])

View Source

Soft-delete the ACL, meaning it will not be displayed anymore, but permissions/grants and controlled information will be preserved. This will not affect objects previously shared with this ACL.