On Wed, Jan 18, 2017 at 7:10 AM, Marius Dumitru Florea <[email protected]> wrote:
On Tue, Jan 17, 2017 at 5:54 PM, Thomas Mortagne <[email protected]> wrote:
Hi devs,
I'm thinking since a long time that maybe we should automatically make superadmin the author of the pages when installing a XAR as long as the current user (and current author) have programming right (i.e. has the same rights than superadmin when the extension is installed). I don't really see anything against it these days and it's easy to do so why not.
Basically the goal is to reduce the possibility to break extensions when you play with existing users/groups/rights. Common user case being to get rid of some old adminsys leaving the company.
The solution you propose looks more like a hack or workaround for the the problem you mentioned. I'm +0 ATM.
The goal is not to discuss the way to fix this issue for good here. I'm just proposing to do this easy change (which I don't agree is a hack, you could argue that you expect the author of extension pages to be some system user) which among other things make this use case a lot less common.
Thanks, Marius
WDYT ?
Note: to be complete we could imagine the same kind of thing for admin user but that require the introduction of a virtual admin right user like superadmin is a vitual programming right user. But let's not discuss too many thing at once.
-- Thomas Mortagne
-- Thomas Mortagne