Closed (fixed)
Project:
Content Distribution
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Dec 2009 at 20:20 UTC
Updated:
24 Feb 2010 at 14:30 UTC
Jump to comment: Most recent file
Comments
Comment #1
greg.harveyWell, I wouldn't take it out. In our use case, we wanted Drupal workflow settings to be site specific, so we hid them in the "server" module to clean up the UI and avoid confusion. What would be smarter would be an admin setting saying something like "Set Drupal workflow on distributing instance?" - if checked, exclude this code so standard Drupal workflow is shown, if not checked, include it so workflow settings are not available. I guess?
Comment #2
joachim commentedIt seems like feature creep to me -- something individual sites should be doing either with permissions or a site-specific hook_form_alter.
I think it should be taken out, but as you're using this on your site, I'll leave this open for now.
Comment #3
greg.harveyI see your point - to be honest, I don't think anything would break on tayzlor's site if you removed it. But best for him to say!
Comment #4
tayzlor commentedyep, this looks custom. Would be best to remove this from form alter and use any default permissions or override_node_options module permissions to handle this stuff.
Comment #5
joachim commented#663442 by joachim: Removed unsetting of node form elements in hook_form_alter().
Removed the removal on 6--2.
This should probably be left as is on 6--1.