[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: Authorship
Mar 15 13:37:56 <iluxa> no - very good. create_version ACL defines who is allowed to create versions
Mar 15 13:38:16 <iluxa> grant_*_rights ACL defines who can change permissions
Mar 15 13:38:19 <HSquirrel> а ты предлагаешь это делать через select по версиям
Mar 15 13:38:24 <iluxa> no
Mar 15 13:38:35 <iluxa> we do not need to know who is author quickly
Mar 15 13:39:05 <HSquirrel> хммм
Mar 15 13:39:10 <iluxa> actually..
Mar 15 13:39:20 <iluxa> if we decide we want to display author list on every page
Mar 15 13:39:28 <HSquirrel> во-во
Mar 15 13:39:38 <iluxa> we _can_ create those _base_author pages
Mar 15 13:39:43 <iluxa> mejh
Mar 15 13:39:46 <iluxa> tables
Mar 15 13:39:57 <HSquirrel> ладно - ты подумай пока
Mar 15 13:39:59 <iluxa> but
Mar 15 13:40:09 <iluxa> they will be used as sort of "cache" tables
Mar 15 13:40:21 <HSquirrel> я сейчас на работу убегаю
Mar 15 13:40:24 <iluxa> and the per-version authorship will be the source of truth
Mar 15 13:40:38 <HSquirrel> мне ответ послезавтра нужен
Mar 15 13:40:52 <iluxa> this way, if we ever need to change it, we can regenerate those values
Mar 15 13:40:53 <iluxa> anyways
Mar 15 13:40:55 <iluxa> ttyl
Mar 15 13:41:59 <HSquirrel> если ты показываешь текщий обьект, созданный изначально автором A, и модифицированный авторами B,C - кого ты покажешь как автора? всех?
Mar 15 13:42:32 <HSquirrel> в принципе, так и так получается select :(
Mar 15 13:42:59 <HSquirrel> ладно - я готов запихать поле автор в описание версии
If you need more - you have those logs just as well as I do.
Alexey Parshin wrote:
> So, we have two questions:
>
> 1) where and how we store authorship:
> a) as an ACL right 'CREATE'
> or
> b) as a field *_author in every version of an object pointing to
> person_list
>
> 2) do we want ACL per object version or per object (_base)?
>
> 2007/3/31, Ilya A. Volynets-Evenbakh <ilya@total-knowledge.com
> <mailto:ilya@total-knowledge.com>>:
>
> AFAIR we decided we tie authorship
> to a version of an object...
> -----Original Message-----
> From: "Alexey Parshin" <alexeyp@gmail.com <mailto:alexeyp@gmail.com>>
> Date: Sat, 31 Mar 2007 09:04:08
> To:uu@total-knowledge.com <mailto:To:uu@total-knowledge.com>
> Subject: Authorship
>
> I need a confirmation, that the only declaration of author is the ACL
> right 'CREATE'.
>
> Also, I wonder what happens if we assign ACL not to particular
> version
> of the object, but to the object base. This way we don't have to copy
> permissions when creating new version. Do we need that exact
> permission-version definition?
>
> --
> Alexey Parshin,
> http://www.sptk.net: <http://www.sptk.net>
>
>
>
>
> --
> Alexey Parshin,
> http://www.sptk.net
--
Ilya A. Volynets-Evenbakh
Total Knowledge. CTO
http://www.total-knowledge.com