Features changes the node module to 'features' instead of 'node' so the permissions don't get created if you have nodes created in features.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 688438.patch | 559 bytes | tchurch |
| #1 | content_unpublish.module.688438.patch | 768 bytes | randallknutson |
Comments
Comment #1
randallknutson commentedCreated a small patch to fix it by checking for features as well.
Comment #2
tchurch commentedCan I suggest that this whole if statement is removed?
There are lots of other modules that create nodes (i.e. the Storm module).
It would be much better to create permissions for every node type.
Comment #3
amitaibuYeah, I think removing the line is correct, I try to remember why I had it the first place..
Comment #4
tchurch commentedTitle changed as other modules also affected.
Will someone be patching this?
Comment #5
tchurch commentedOK. Here is a patch then.
Comment #6
tchurch commentedJust wondered if someone that checked the patch and was going to implement it.
I don't know why but the testbot hasn't tested the patch.
Comment #7
tchurch commentedIt anything happening to this patch?
Comment #8
amitaibuCommitted with some more code cleanup, I'll probably create a new release in a couple of days, as long as no other bugs are found. Thanks!