Login

Username

Password





Register   Reset password

This is a read-only archive of the forum.

# markfind 2/19/2008 9:13 AM
I have developed a small content management module with versioning, staging, etc.

As you can immagine, I had modified Cuyahoga Core and database to support custom approver role and preview of content.

How this can be developed without touch a line of the base code of Cuyahoga?

Marco
# Efie 2/19/2008 9:30 AM
It depends a little where you want to integrate the versioning stuff. I don't know what your module looks like? Is it like the statichtml module? And what changes did you made in the core?
# markfind 2/19/2008 4:37 PM (edited 2/19/2008 4:44 PM)
Yes, it was derived from StaticHtml module.

I have added Approver role, in Persmission class, at the same level of Editor special role.

Marco
# Efie 2/20/2008 12:03 AM
Ah ok, so you extend the security model a little bit? That's the only difference? Or did you made other enhancements to the core?

Can you be somewhat more specific about the requirements and how it fit's or not in the current Cuyahoga-architecture?
# markfind 2/20/2008 9:34 AM
Sure, but my intent was not to be specific, but to animate a discussion on extending the core and not touching a official/clean Cuyahoga release in these common services, like authorization.. (Can we use the provider model?)

By the way:

- On the Permission class and on the table added ApproveAllowed property/field
- On User class added public bool CanApprove(Section section) method and modified SectionEdit.aspx form to administer approvation permissions (my primary goal was to work at section level not at node level).
- other changes was made to support versioning but was handled at specific module domain class

Marco