> Ok, I understand now how you have it set up. Though it seems you ought
> to use mysql users like 'read', 'edit', 'admin' and the like. Just to
> make it clearer for the administrator using the plugin. I take it,
> anyone writing an msql query in a function can assign it any user they
> want, correct? It just has to be on the right page for that user set
> of permissions to be executed. Which you have write protected. And
> those permissions are first checked in site.auth.msql then sent to the
> server if allowed.
Exactly.
> Actually I assume superadmins have authorization automatically, admins
> the auth assigned to them.
I guess my I guess my annoyance comes from wanting a normal user with
sudo capability, not hang around in boltwire as root.
I suppose I should really get used to using a normal admin account.
However it occurs to me a smarter
> implemention might be:
>
> if ($find == $BOLTid) {
> if (strpos(" ,$BOLTadmin,", ",$find,") && $BOLTadmin
> != '') return true;
> }
>
> This would not require any special parameter to disable this. Of
> course, you could have a weird function name that just happens to
> match your login id, or you might be generating a table of members to
> see what auths they have, and a super admin gets a false return...
>
> Maybe we'll just go with what we have, if it works for you.
Sounds good.
>
> Cheers,
> Dan
>
> P.S. The other reason I think the default should be true, is it would
> mean I would have to go through every BOLTauth call in BoltWire and
> every plugin and add a true parameter. I only had to set 3 instances
> to false. Just empirically it seems the default should be true.
I understand perfectly. In a less trivial question I would recommend
find and replace, but here it does seem overkill.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"BoltWire" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/boltwire?hl=en
-~----------~----~----~----~------~----~------~--~---