Topic: Administrator check
Hi all, in my program I use the routine Role to have many users. What I want to do is to get a script, that control to have at least one administrator., of avoiding an error to uncheck or delete the admins.
My Visual Database → General → Administrator check
Hi all, in my program I use the routine Role to have many users. What I want to do is to get a script, that control to have at least one administrator., of avoiding an error to uncheck or delete the admins.
Hi,
My understand is that this can never happen.
If role based authorisations is enabled, standard MVD checks when your application starts whether there are any users who are 'is_admin' and if there are none, then the default 'admin' user with a default password of 'admin' is automatically recreated to prevent the scenario that you are asking about from ever happening.
Derek.
That is correct, but in case you uncheck the admin box then the system creates the default administrator and password (admin/admin), to avoid it is there a script?
My Visual Database → General → Administrator check
Powered by PunBB, supported by Informer Technologies, Inc.
Theme Hydrogen by Kushi