The example I posted isn't the real one, implementing a story-like or page-like node type is quite easy; what I was wondering was if I could allow certain users under certain circumstances to publish nodes like events, etc... I think Organic Groups manage to do so, but I didn't understand how it achieve this reading the code. On 06/02/2008, Derek Wright <drupal@dwwright.net> wrote:
On Feb 5, 2008, at 10:33 PM, Dave Cohen wrote:
There's been talk about an "access" op for hook_nodeapi, but I don't know what happened allong those lines.
Sadly, it was postponed months ago. :( Now that 7.x is open, we could consider it again. However, I suspect all the DataAPI summit stuff might impact it, so I wouldn't spend time re-rolling the (trivial and amazingly useful and powerful) patch that we had going before. Nah, I'm not biased. ;)
http://drupal.org/node/122173 http://drupal.org/node/143075 (duplicate, but big debate) http://drupal.org/node/196922 (another more complicated but potentially better approach)
cheers, -derek (dww)
-- *La paciència és un arbre d'arrels amargues però fruit dolç. *Hi han dues paraules que t'obriran totes les portes del món: "estira" i "empeny". *Quan fa 6x9? 42!!! (funciona en base 13) *Abans d'imprimir aquest missatge, pensa en el medi ambient.