mirror of
https://github.com/project-zot/zot.git
synced 2026-06-16 20:38:08 +08:00
feat(mgmt): mgmt extention no longer depends on UI being enabled (#1728)
It is now enabled based only on search configuration Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
@@ -326,7 +326,7 @@ func (c *Config) AreUserPrefsEnabled() bool {
|
||||
}
|
||||
|
||||
func (c *Config) IsMgmtEnabled() bool {
|
||||
return c.IsSearchEnabled() && c.IsUIEnabled()
|
||||
return c.IsSearchEnabled()
|
||||
}
|
||||
|
||||
func (c *Config) IsImageTrustEnabled() bool {
|
||||
|
||||
Reference in New Issue
Block a user