Hi all,

I created a branch now and added a first working prototype. 
http://svn.apache.org/viewvc?rev=432549&view=rev

"Basic refactored AC prototype. You can now GRANT or DENY credentials on
a url basis. This is integrated into the current implementation. We
extend the *.acml files with an @method attribute to define whether or
not a certain accreditable can have a role. Till now I did not
cleaned/verify that some method can be romved due to this changes. The
sitetree usecase AC... needs an update and the whole stuff more testing.
Please do in lenya-trunk/src: svn switch
https://svn.apache.org/repos/asf/lenya/sandbox/ac-restricted-1.4-src 
if you are keen to test and play around. Try to change the *acml in the
build (e.g. with vim) and see the effect after reload."

I will now work on updating the AC usecases, but would greatly
appreciated feedback regarding design and behavior of this modified AC
management.

TIA

salu2



El jue, 10-08-2006 a las 10:54 +0200, Thorsten Scherler escribió:
> Hi all,
> 
> I am ATM working on a major change of the AC implementation. I got code
> from Edith that I needed to update to current API use, implementing
> default implementations and then integrating into the existing classes. 
> 
> This was not that easy since the starting code was half finished. Some
> parts of the integration are still very basic or hardcoded to get to the
> point where I do not have any exception anymore. The idea of the changes
> are to have a node containing the credentials for the document. This are
> stored and defined in the meta data of the document. You can protected
> each document different for each user/group/... if you want.
> 
> The code now compiles but the functionality is still far from being
> usable. My problem is that I still need to understand the changes
> (architecture and implementation) in the new code without having worked
> excessively with the old code (which makes the task not easier). 
> 
> This leads to the subject of this mail. I would love that other people
> can have a look and review this implementation and maybe point out which
> parts have sharp corners. 
> 
> Since I know I would break the AC for a couple of days I think it is
> best to create a branch in the sandbox and apply what I have there. If
> we finish the code and are happy with the result then we can merge it
> again in the trunk.
> 
> This means on the other hand all AC work should be conducted in the
> branch otherwise we will run into problems when merging back.
> 
> If we agree that a branch makes sense I would create such a branch
> (ac_node). You can then just svn switch to the branch to see/debug the
> changes.
> 
> wdyt?
> 
> salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
[EMAIL PROTECTED]                [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to