PDA

View Full Version : How to set permissions for usergroups


sifuhall
02-13-2006, 01:17 PM
There's a new book entry added:

How to set permissions for usergroups (http://www.vbdrupal.org/node/10)



Create new roles for each seperate set of permissins you want each usergroup to have:

Go to vB Drupal -> Administer - > Access control

Click "roles". Type the role name in the box, like "Bloggers" and hit "add role". Then click "edit" next to the new role, and type in the vB groupids who will use this role. You can enter multiple groupid's seperated by a comma. Now go to the permissions section, and tick each permission you want that group to have. To be able to create blogs, tick the box next to perrmission "edit own blog" (assuming the blog module has been activayed.

Karlm
08-08-2006, 08:54 PM
You say:

"and type in the vB groupids who will use this role."


Am I safe to assume that I am on right track despite not being able to type groupids into any input box? My groupids are listed as tickboxes.

sifuhall
08-08-2006, 10:25 PM
Yes, the instructions were for 4.6. 4.7 has checkboxes and when it is out of beta we will need to update the instructions.

Karlm
08-08-2006, 11:22 PM
cool... i know it's a fairly obvious (common sense) issue, but the probs i've had installing vbdrupal - i want to be 101% certain LOL.

cjayz
11-01-2006, 10:33 PM
I have tried this. However, it does not save the role information for the user. It puts up an error saying
"# You must enter a username.
# You must enter an e-mail address."

Yet, these things are already completed in the VBulletin account for that user. Thus I cannot assign Drupal Roles to the user at all!

Is this a know bug or am I doing something wrong?

Gman
11-01-2006, 11:12 PM
I have written an updated vbDrupal Permissions (http://vbdrupal.skejo.com/vbDrupal-permissions) article that is pending submission here.

When you go to the drupal admin pages, admin/users, are there roles to choose from when you edit a user account?

cjayz
11-02-2006, 04:04 AM
yes, I can see the drupal roles available and they appear as (implied by vBulletin usergroup)

In fact, I noticed that I cannot make ANY changes to the user account from drupal. changing the signature gives the same error asking for email and username as well.

I read your article and what I have done so far is correct according to it. Has no one ever come across this situation before?

cjayz
11-02-2006, 04:09 AM
Oops!

I just realised a critical mistake that I made. I do not need to assign user roles PER user! its already done by VB!

apologies, and thanks GMan.

mr3dblond
11-19-2006, 12:57 AM
Hi,
I realized the same problem. With an older version of vbdrupal, I could set user based groups. Now it works only with the implied vbulletin user groups.
If this is the right behaviour, why can I see checkboxes in the drupal user profile, if these do not work?

Ciao alex..

Gman
11-19-2006, 05:27 PM
Do you have other roles created in Drupal. You still need to create the roles in Drupal, and then associate them with the vbulletin groups. If there are onlyt the anonymous and authenticated roles, then there is nothing to assign users.

Check the administer >> access control menu and see if there are more roles listed.

mr3dblond
11-20-2006, 12:09 AM
Hi,

If I assign the drupal groups to vbulletin groups it works - that is not the problem. But if I don't want assign groups, I have to set the checkboxes in the drupal user profile - and this does not work. If this is the right behaviour, it would be better, to hide the checkboxes in the profile page.

Ciao Alex...

Gman
11-20-2006, 11:34 AM
Are you saying that when you assign Drupal roles manually in the user's profile, that the roles have no affect?

Or that the roles do not give permissions in vbulletin groups?

If the first that may be the first time a bug like this has been experienced. The second way does not exist, you can not use Drupal roles to assign vBulletin groups.

mr3dblond
11-21-2006, 02:49 AM
Hi,

the problem is, I can not save the profile settings. If I press "Submit", I get always the following errors:


* You must enter a username.
* You must enter an e-mail address.


See screenshot! (in this screenshot I activate the administrators group with vbdrupal 4.7.3.x, because with that version I didn't get this error)

Therefore I can not set a user to a special user group.

Ciao Alex...

Gman
11-21-2006, 09:53 AM
Ahh, yes that has been fixed with this Hotfix (http://www.vbdrupal.org/hotfix/2006/44/51/username_and_email_validation_error). Just download and replace this file in your installation.

mr3dblond
11-21-2006, 10:41 AM
Hi,

hey, I knew, it has to be a solution ;)

Thanx!

Ciao Alex...