[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: UU: Access management
- To: uu@total-knowledge.com
- Subject: Re: UU: Access management
- From: "Alexey Parshin" <alexeyp@gmail.com>
- Date: Tue, 6 Jan 2009 06:32:30 +1100
- Delivered-to: mailing list uu@total-knowledge.com
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=a1PvmzENPsMAE9+6knz9hsy8VNnyYIcofbYLn5V/iVQ=; b=PikbKaqaBYewWIZT4Hn0SpDMjBLZm7BEBsP57712EQvZJnI/C68RxL/0yMtH//AiW1 R08etFnMXPJLZFDeRhDFGXfgNh0y679ZZDQU8XvwHaF4088u64l29icApASUjqlQsTop 0Z2cE8iuhYd7ILOJ3yE5RIZd3ve6+0jNKCJSI=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=BqmBlhjIXCBv27W+jtTDDVINMaBcdvNc69p6FlTQ5GxNa10qS1jbmRhxVRXm9ClPbi /VP1C3/97x06vt8kdRGyA5e8+PPGeDUFX9hnkf9wKC6puy60GBY+iBZ17yt0OFa5GHra C9c/X9ysZEjEMi3chZqxTs7KyXh8QEeU1utf0=
- In-reply-to: <496229AA.2010402@total-knowledge.com>
- Mailing-list: contact uu-help@total-knowledge.com; run by ezmlm
- References: <496229AA.2010402@total-knowledge.com>
We already have person_add_to_group() and person_remove_from_group() functions operating with group id.
I can add the versions of these functions taking umo id and group type instead. This would be just a combination of group_find_for_object() and person_{add_to,remove_from}_group().
The umo_register_editor() will not be needed at all if we add functions described above.
Class (as well as UMO) creation isn't limited anyhow at the moment. Currently, anyone can create a class or a UMO. If you can describe such limitations - we can add 'em.
2009/1/6 Ilya A. Volynets-Evenbakh
<ilya@total-knowledge.com>
I'm going through available procedures,
trying to figure out proper way to imlement
UMO access management.
Here is what I've gathered so far:
- To add another editor to UMO I have to find ID of EDITORS group
for given UMO, and then add person to it
- To add another admin, same thing, but for ADMINS group
Class and student administration is similar.
Question:
Why do we still need "umo_register_editor" function?
Are there wrapper functions to perform administrative tasks as one call?
How is access checking in class_create function performed?
--
Alexey Parshin,
http://www.sptk.net