Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use node type information to detect changes on protected properties #158

Open
dbu opened this issue Mar 27, 2013 · 2 comments
Open

use node type information to detect changes on protected properties #158

dbu opened this issue Mar 27, 2013 · 2 comments
Labels

Comments

@dbu
Copy link
Member

dbu commented Mar 27, 2013

for example the nt:frozenNode has all properties protected in its node type. to have it work properly, we would just have to implement the node generically enforcing its constraints.

@dbu
Copy link
Member Author

dbu commented May 2, 2015

@danrot this is the thing we talked about yesterday. my idea would be that we add a method to item canEdit that is called whenever an operation is attempted that would edit the node and checks if this is a frozen node or a version, or if its a versionable node if it is checkedin.

but lets first get the versioning itself running.

@danrot
Copy link
Contributor

danrot commented May 2, 2015

Yeah, there might be some work left ;-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants