Closed (fixed)
Project:
NodeStream
Version:
7.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Sep 2011 at 13:25 UTC
Updated:
18 Feb 2012 at 22:00 UTC
Jump to comment: Most recent file
Comments
Comment #1
johanh commentedA patch, the first try.
Removed all dependencies of article content type and field group.
Comment #2
fabsor commentedThis needs review
Comment #3
fabsor commentedThis breaks the current functionality, since you can't refer to polls in articles anymore. We need to provide another feature that adds a field on the article so that you can refer to polls.
Comment #4
johanh commentedThis patch divides the old ns_poll into two features: ns_poll and ns_article_poll. Ns_poll now only includes user permissions for polls. Ns_article_poll have the field for ns_article and field group.
I'm not sure we should include user permissions in ns_poll. The roles and permissions for polls could differ between projects based on NodeStream. But we have to have something in the feature otherwise it is not created. (I have tried.) Maybe only have user permissions for administrator or some other role which should exist in most sites?
Comment #5
fabsor commentedThe Create, Edit and Delete permissions should be part of the ns_poll feature. They can be exported through features as usual, and then adopted to use the default config module. Information about how this can be done can be found on the Project page
You can also have a look at the ns_article feature, for instance.
Comment #6
johanh commentedOk, new try.
This time default configuration of permissions is added to ns_poll.
Also added drupal variable "language_content_type_poll" to ns_poll.
Comment #7
fabsor commentedWe are still missing the permissions from this feature, we need that as well before we can get this in. Sorry to be problematic =)
Comment #8
fabsor commentedThis should be fixed now.