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.
Hi, i install de 4.x versión but i see that this versión haven't that option. So is posible to include soon?
Thanks and sorry my english ;)
Comment | File | Size | Author |
---|---|---|---|
#27 | interdiff.txt | 6.04 KB | Tim Bozeman |
#26 | invite-invite_limit-2048801-26.patch | 13.67 KB | Tim Bozeman |
#25 | interdiff.txt | 10.07 KB | Tim Bozeman |
#25 | invite-invite_limit-2048801-25.patch | 13.9 KB | Tim Bozeman |
#20 | Selection_142.png | 40.45 KB | Tim Bozeman |
Comments
Comment #1
zilla CreditAttribution: zilla commentedi noticed the same thing - just wondering why it was removed. i'd also love to see it return (limit invitation by role, etc)
Comment #2
zilla CreditAttribution: zilla commentedbump: any word from the maintainer on whether or not this feature is coming to the d7 version of invite?
Comment #3
ckngWill get to it.
Comment #4
Tim Bozeman CreditAttribution: Tim Bozeman commentedThis patch ports the basic role limit from 7.2.
Comment #5
Tim Bozeman CreditAttribution: Tim Bozeman commentedWith new line.
Comment #6
Tim Bozeman CreditAttribution: Tim Bozeman commentedAdded remaining invites text to the form and changed a permission string so the role would apply.
Comment #7
ckngThanks Tim for the patch. I think I forget to mention would prefer this as a submodule, maybe invite_limit to make it more maintainable and user who don't need the functionality do not need to bother with it. Do you think that's doable with current code base?
Comment #8
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedHeya ckng, I separated it into it's own submodule.
Comment #9
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedI left off 2 functions in the shuffle.
Comment #10
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedChanged the permission string from 'send invitations' to 'create any invite entities'.
Comment #11
ckngUsing 'create any invite entities' is no longer accurate, since now we have "create invite_type->type entity" permissions. But this is more to invite permission design which we will need to revisit.
need to add uninstall to remove there variables.
IMHO, using select is very limiting where a textfield would be better.
Add hint for unlimited (-1) when converted to use textfield.
If these are configurable, that would be more usable. Including enable the block overriding.
Comment #12
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedThank you for reviewing ckng!
Comment #13
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedComment #14
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedNew line.
Comment #15
ckngAny suggestion for (1)?
Hopefully find time to review this week.
Comment #16
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedHow about this?
Comment #17
ckngI reorganized the invite limit block and shorten the variable names.
Comment #18
ckngFor (1), I'm actually referring to this section of codes. Nonetheless, the other section you fixed is needed as well.
The current patch only cater for permission 'create any invite entities'. For current invite implementation, there should be ability to limit by the invite types. Hence, it should be limits by roles of each invite type, where 'create any invite entities' is the default. Make sense?
Comment #19
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedAh. I see what you mean. I'm just using roles.
Comment #20
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedI haven't wired up the permission checking part yet, but I reworked the settings page.
Comment #21
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedComment #22
pendaco CreditAttribution: pendaco commentedGreat work! Would love to see this in a new update.
@ Tim Bozeman
There's 1 small typo in your patch above; 'Defualt' instead of 'Default'
Comment #23
nithinkolekar CreditAttribution: nithinkolekar commentedsome observations
#1. permission pattern "Invite by e-mail create new invites" which fails with 'create ' . $invite->getBundle() . ' entity'
#2. default settings are applying although role specific is configured.(May be #1 is causing this)
#3. Please enable the create any invite entities permission for at least one role on the permission . It is like assigning all invites permission to a single role which make that user almost semi admin. It should be "Enable permission to at least one invite type"
Comment #24
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentednithinkkolekar, thanks for looking at it. #17 is a working patch, but the permissions don't meet the design specs ckng is after. #20 makes an attempt to accommodate a more robust permissions scheme, but I haven't gotten further than simply placing the form elements yet.
Comment #25
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedI wired up the invite limit type and role checking. What do you think ckng?
Comment #26
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedTidy things up a bit.
Comment #27
Tim Bozeman CreditAttribution: Tim Bozeman at CyberSolution commentedComment #28
Tim Bozeman CreditAttribution: Tim Bozeman as a volunteer and at CyberSolution commentedComment #29
Doronro CreditAttribution: Doronro commentedsubscribe
Comment #30
Donit CreditAttribution: Donit commentedCurrently, every user can view ANY invites from other users by simple URL hacks, even when just view/edit OWN is enabled. Does this patch solves this issue?
Comment #31
brockdray CreditAttribution: brockdray commentedSo I'm not a developer, and applying patches is not really in my wheelhouse. Any chance this is going to be moved into the main module anytime soon? I would love to add this functionality to my site. Thanks!
Comment #32
royerd CreditAttribution: royerd commentedI can't find the ability to limit invites in the 7x versions. Was that feature ever added?