View Source DSL: AshAdmin.Resource
An API extension to alter the behaviour of a resource in the admin UI.
Configure the admin dashboard for a given resource.
|The proper name to use when this resource appears in the admin interface.
|Whether or not this resource can be used as the actor for requests.
|The action to use when linking to the resource/viewing a single record. Defaults to the primary read action.
|A list of read actions that can be used to show resource details. By default, all actions are included.
|A list of create actions that can create records. By default, all actions are included.
|A list of update actions that can be used to update records. By default, all actions are included.
|A list of destroy actions that can be used to destroy records. By default, all actions are included.
|For resources that use ash_postgres' polymorphism capabilities, you can provide a list of tables that should be available to select. These will be added to the list of derivable tables based on scanning all APIs and resources provided to ash_admin.
|For resources that use ash_postgres' polymorphism capabilities, you can provide a list of actions that should require a table to be set. If this is not set, then all actions will require tables.
|The list of attributes to render on the table view.
|The list of fields and their formats.
|The list of attributes to render when it's shown as a relationship on a datatable
|The group in the top resource dropdown that the resource appears in.
|The list of fields that should not be redacted in the admin UI even if they are marked as sensitive.
Configure the appearance of fields in admin forms.
Declare non-default behavior for a specific attribute.
|The name of the field to be modified
:default | :long_text | :short_text | :markdown
|The type of the value in the form. Use
default if you are just specifying field order