Needs review
Project:
CCK Private Fields
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
21 Sep 2009 at 14:45 UTC
Updated:
21 Apr 2010 at 14:15 UTC
Jump to comment: Most recent file
Comments
Comment #1
markus_petrux commentedI also thought about it, but was kind of lazy, and I had to finish this module for the particular needs of the project I'm working on (and turn the page to work on more stuff related to this project).
It shouldn't be too difficult however. It's just a matter to abstract a bit more the code around the "Private" option, which is in fact something optional that depends on external module.
Now, I do not have time, honestly. But I would be glad to review patches as far as current features are untouched, and new features are optional.
Comment #2
dawehnerI think we should remove Integer from privacy_status and make it a string modulname_key.
Therefore we have to update the db field, and update all existing values.
Comment #3
dawehnerSo here is a initial patch.
TODO:
Additional i don't like the name of the hook: hook_private_fields_options
Comment #4
dawehnerha here is the patch.
Comment #5
dawehnerNow, the patch has also content :)
Comment #6
dawehnerAdded alter hook.
Comment #7
markus_petrux commentedJust wanted to mention that I'm busy trying to finish the project I'm working on. I'll try to come back to review this as soon as possible. It may take me a month or so.
Comment #8
rbl commentedCould this be used to add something like a locked state thus preventing the user from editing the field?
Comment #9
dawehnerno.
Comment #10
markus_petrux commented@dereine: Honestly, I'm afraid I won't have the time to review/work on this. And sorry for not getting back earlier. Too busy.
Do you think it would be possible to start a new branch that implements this feature without breaking current functionality? Would you like access to this project to work on it?
Comment #11
dawehner@markus_petrux
I guess a new branch is a definitive better idea. I could work a bit, but really just a bit, my other d.o. projects is killing my time, damn.
Comment #12
adam_c commentedIn my post
http://drupal.org/node/755138
I requested the ability to expand the 'privacy' option to include a checkbox list of the different relationship types that are implemented on the site (Im using UR), are the changes that you are making here a step in that direction?
Comment #13
dawehnerIts currently not possible with only this patch, but its a step towards your need.
Comment #14
adam_c commentedok very good.
Do we share the same aim? If so can you give a rough estimate on completion? I will help out as much as I can.
If not, will your efforts just get a bit further to my aim? And if so, what extra development will be needed to take it that little extra further?
Comment #15
dawehnerNo.
The patch is a step forward to what you need.