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.

Re: Administrator check

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.

Re: Administrator check

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?