[geeklog-devel] Brainstorming: Admin Toolbox?

Tony Bibbs tony at tonybibbs.com
Mon Jul 12 17:50:14 EDT 2004


Right, so (and, yes, I'm stating the obvious) if child scriptlets don't 
implement that method then Root is required.  If a child scriptlet wants 
to handle security in a different way they simply override that.

--Tony

Tom Willett wrote:

>I understood that function as part of the base class.
>
>--
>Tom Willett
>tomw at pigstye.net
>
>---------- Original Message -----------
>From: "Dirk Haun" <dirk at haun-online.de>
>To: <geeklog-devel at lists.geeklog.net>
>Sent: Mon, 12 Jul 2004 23:17:08 +0200
>Subject: Re: [geeklog-devel] Brainstorming: Admin Toolbox?
>
>  
>
>>Tom,
>>
>>    
>>
>>>The only suggestion that I would make is to make the permissions more 
>>>flexible.  That way if root delegated authority to someone, they too 
>>>      
>>>
>could 
>  
>
>>>access the script.
>>>      
>>>
>>I think this function already handles this nicely:
>>
>>    
>>
>>>>    function userCanRunScript() 
>>>>    {
>>>>        if (!SEC_inGroup('Root')) {
>>>>            return false;
>>>>        }
>>>>        return true;
>>>>    }
>>>>        
>>>>
>>The scriptlet could implement any authentication it wants here.
>>
>>bye, Dirk
>>
>>-- 
>>http://www.haun-online.de/
>>http://www.tinyweb.de/
>>
>>_______________________________________________
>>geeklog-devel mailing list
>>geeklog-devel at lists.geeklog.net
>>http://lists.geeklog.net/listinfo/geeklog-devel
>>    
>>
>------- End of Original Message -------
>
>_______________________________________________
>geeklog-devel mailing list
>geeklog-devel at lists.geeklog.net
>http://lists.geeklog.net/listinfo/geeklog-devel
>  
>



More information about the geeklog-devel mailing list