Closed rymsha closed 3 years ago
Do you have a use-case example? Shouldn't this be based on permissions, like "App Administrator" role that can install/uninstall apps while regular user cannot?
this is not about users, it is in general when XP comes with preinstalled apps we may want to disable installing new ones via app-applications.
ok, do we want one setting for both install and uninstall or two different ones? also, is it allowed to start/stop apps but not install/uninstall?
This is for Enonic Cloud, to prevent users from installing apps directly in Enonic XP. It would probably be smart if Install button was available. The modal should thrn says this is a managed instance, and to contact your XP administrator to Install or similar?
Ok, I can see this is far from being a ready task description, definitely not "Current Sprint". I'll set "To Be Discussed" label on this until we decide how this should work/look.
@ashklianko Call config readonlyMode
. It has to be explicitly set to true
, any other value or missing config should be treated as false
(like here).
When app-applications
is in readonly mode:
Also check that no actions are visible in the mobile mode.
app-applications should have a configuration flag to effectively work in read only mode. All of the action buttons in the toolbar (Install, Uninstall, Start and Stop) should then be invisible.