This repository has been archived by the owner on Apr 20, 2024. It is now read-only.
Releases: ml-archive/admin-panel
Releases · ml-archive/admin-panel
Version 2.0.0 Beta 14
Changed
- Aligned with Reset updates.
- Simplified the config in regards to the signer used for Reset.
Version 2.0.0 Beta 13
Version 2.0.0 Beta 12
Fixed
- Wrong references to Reset config (
baseUrl
vsbaseURL
)
Version 2.0.0 Beta 11
Changed
- Environment label is now vertically aligned.
- Updated names including the word
URL
to consistently capitalize the word. - Paths for the different endpoints can now be overwritten.
Version 2.0.0 Beta 10
Added
- ConfirmModal now has two new data attributes for setting custom text labels on the confirm- and dismiss-button
- ConfirmModal now has options for overriding default behaviour of confirm- and dismiss-button
- Documentation on how to integrate the
ConfirmModal
Version 2.0.0 Beta 9
Added
- Leaf tag for WYSIWYG editor which uses Quill.
Changed
- Renamed leaf tag
roleAllows
tohasRequiredRole
- All leaf tags are now named using camelCase - please remember to go through your project's leaf file.
Version 2.0.0 Beta 8
Added
adminpanel:user:roleAllows("rolename")
leaf tag for boolean evaluation of user's role
Changed
adminpanel:user
now operates on genericAdminPanelUserType
instead ofAdminPanelUser
given by default.
TemplateDataRepresentable
Version 2.0.0 Beta 7
Fixes
- Aligns return type in AdminPanelUser controller methods
Added
- Environment label on non-prod envs
Version 2.0.0 Beta 6
Added
requireRole
Leaf tag
Usage
#adminpanel:user:requireRole("admin") {
Role requirements met
}
Changed
role
is now optional on theAdminPanelUser
Removed
.unknown
AdminPanelRoleType
Version 2.0.0 Beta 5
Changed
- Temporary fix for Leaf issue (vapor/template-kit#17) removed as it's not needed anymore.
Removed
- Removed
dashboardPath
fromAdminPanelConfig
. UseAdminPanelViews
instead to set this path.