Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I had a look at the patch for D7 that theoretically merges this module into core, however it doesn't provide all the functionality that this module does, so I think a D7 port might be useful.
Also, I've written a drush module based on this API, should I upload it as a patch?
Comment | File | Size | Author |
---|---|---|---|
#3 | permissions_api.drush_.txt | 5.15 KB | lambic |
Comments
Comment #1
ebeyrent CreditAttribution: ebeyrent commentedI reviewed the D7 patch, and came to the same conclusion as you; not all of the functionality of the Permissions API module was included in core. I could certainly do the port; however, I feel that would duplicate a lot of code unnecessarily. I feel that the best course of action is to submit patches to D7 core to include any missing functionality - it helps out everyone, and eliminates duplicitous code. Who wants to lead the charge? :)
Regarding your Drush module, by all means upload it here. If it's a standalone module, you should uploaded it as a .tar.gz file. Otherwise, a patch is fine.
Thanks for your feedback!
Comment #2
lambic CreditAttribution: lambic commentedI agree that it would be better in core, however D7 is in code freeze now, so I don't know if a patch would be accepted at this point.
I'll upload the drush module later. I wrote it as a stand-alone module thinking I could make it work with D6 and D7 with lots of function_exists or major_version checking but for now it's D6 only so it could be packaged with permissions_api (as it depends on it).
Comment #3
lambic CreditAttribution: lambic commentedHere's the drush module.
Comment #4
ebeyrent CreditAttribution: ebeyrent commentedClosing this issue as a "won't fix". I also created http://drupal.org/node/802248 to deal with the patch you provided regarding Drush support.