I have a question about the self-registration module. Its working properly, however, when a user activates their account, I would like them to be automatically added to a specific group. The need here is that when a user registers, I would like them to be able to add photos. Right now, when a user self-registers, they don't get any additional access. Is there a way to automatically add a user to a group upon self-registratyion activation, or a way to give the registered user different access automatically (i.e. without having to manually add them to a group)?
Posts: 8601
if you want every user to have this access you can assign the permissions to the All Users group.. all users are automatically added to that group.
or you can write a module with an event listener to detect new users and add them to a different group.
Posts: 2
nevermind.... I think I answered my own question. I was confused about Everyone and All Users, but the fog in my brain just lifted
When an anonymous visitor comes to the site, they probably should not have access to post photos to the gallery. So, giving All Users rights to add photos does not make much sense. Once the user registers however, their access level should be upgraded so they can post. It just seems like that is a slight oversight in the auto-registration process. Without some mechanism to change the person's access level, auto-registration is not really useful.
The other option would be to grant additional access to All Users who are logged in. This way, you know they have an activated account, whether is was activated by the administrator, or automatically. Is there some place to modify access levels for users who are logged in?
Posts: 32509
so i take the grey/white part of your post as obsolete knowledge
Everyone = Guest + Registered Users + Admins
All Users = Registered Users + Admins
Plus you can create other groups and make any registered user a member of this group.
Posts: 24
Hi,
See that you suggest an "event listener" to detect new users. My website - I'd like to have new users that come from different sources (pages) to be enrolled in different groups. For instance. I have members of Site A - when they register, they should automatically get set to Group A - with Quota A. Members of Site B - self register and set to Group B, Quota B.
Thank you in advance!