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.
Would it be possible to either implement rudimentary rules integration -or-
simply allow for something as simple as /users/%uid allowing permission to the user associated with the %uid.
I'm by no means a PHP programmer, but I dug through the code and it appears as if this module is ALMOST there.
I'm sure this one simple feature would dramatically and permanently alter the implications and use value of this module immensely.
Comments
Comment #1
JohnRofls CreditAttribution: JohnRofls as a volunteer commentedI've begun developing a very basic rules integration for this module. I should be able to have it functional within the month. It currently functions but with many "what-if's" that need to be sorted out - however, it is a very simple .rules.inc file to add rules functionality to this module. Currently, it creates an action that adds a directory for a given user to the list. It will be expanded to add roles as well. Additionally, I'm looking at deleting a directory from the list using a similar rules action.
While this will provide an incredibly larger use-case for this module, it seems that creating rules in this manner pokes at a structural issue with the module as a whole. The functions that write data to the database for the existing module are heavily integrated into the modules forms. This means the rules inclusion has to recreate this functionality rather than simple call to extant functions that do exactly the same thing. If anything in the module changes, the rules module would have to have the same changes.
Would you be open to pulling the portion that writes to the database and deletes from the database out and making them their own functions which the form passes the data to? (And therefore rules would be able to pass the data to as well). I'd be willing to volunteer my time to assisting in making this happen as I feel this module is very valuable for the Drupal community as a whole (once people realize its implications).
Comment #2
zanonmark CreditAttribution: zanonmark commentedHi John, and thanks for your proposal.
Sure, this would be useful. And yes, I'm willing to do some modifications to the code structure so we can sort it out.
Unfortunately I'm out of time at the moment, due to personal reasons. However I'm leaving this ticket open and this matter will be handled as soon as possible.
Thanks,
Marco
Comment #3
zanonmark CreditAttribution: zanonmark commentedComment #4
zanonmark CreditAttribution: zanonmark commented