I am trying to implement your module on the London Ultimate Club's website, but am having issues setting up permissions.
I was wondering if there was some documentation or reference material for me to use to assist me in the initial set up of this module.

I have played around with the demo site and it allows me to see what I want our site to do but I can't figure out how to get there.
For example I am unsure of which module components to have enabled for which type of user.

Any help would be greatly appreciated.

Comments

jthorson’s picture

Unfortunately, the demo site is about all there is for documentation.

It's been a while, and admittedly the permissions are a little overwhelming ... and looking back at them now, they probably aren't even all used. (I made a note to go through and clean them up, next time I spend some time with the module.) I had hoped to have a D7 rewrite completed by now, but inherited Drupal's automated testing infrastructure in the meantime (which has consumed any dev time I've been able to find).

Here's what I originally had set up for RUFDC (this is off a sandbox site, so it may not be totally accurate ... but I think it'll give you a good start). They'll probably need some tweaking depending on your requirements - feel free to fire me any questions that might arise.

Roles:
1 - anonymous
2 - authenticated
3 - Captain
4 - Exec Member (or league administrator)
5 - Player
6 - Website Administrator

Permissions:
Content
access content (1,2,6)
create/edit/delete any/own ult_division, ult_fieldset, ult_game, ult_league (4,6)
create ult_profile, ult_team (2,4,6)
edit own ult_profile content (2)
edit own ult_team content (3,4,5,6)

ult_fields
update ULT field conditions (2)

ult_main
access ULT leagues (1,2,3,4,5,6)
access ULT teams (1,2,3,4,6)
administer ULT leagues (4,6)
configure ULT settings (4,6)
create ULT teams (2)

ult_matches
submit ULT game results (3,4,6)

ult_rosters
Apply to join a roster (2,4,6)
Manage all rosters (4,6)
Manage own rosters (2,4,6)
View rosters (2,4,6)

ult_skillcalc
access skill calculator (1,2)

ult_spirit
assign spirit scores (6)
update spirit scores (6)
view spirit scores (1,2,6)

ult_timeslots
administer ULT timeslots (6)
view ULT timeslots (6)

ult_waivers
administer ULT waivers (4,6)
view ULT waiver (2)

lultimate’s picture

After playing with the demo site a little more I think I am wanting it to do something that perhaps is not possible.
I would like captains to go in and create a team in a certain division and then put in their rosters.

Does a league coordinator (admin) need to create the teams first?

jthorson’s picture

You should be able to enable that by granting the 'create ULT teams' permission to authorized users. The RUFDC setup I copied from didn't have that ability, since we typically had more teams trying to register than there was room for, and the exec wanted to enter the teams themselves.

You will also likely need to enable the 'Manage own roster' permission for authorized users as well. You could remove these permissions for authorized users and enable them for the 'captain' role once registration has closed ... the challenge preventing this up front is that you likely don't know who needs the 'captain' role until after they've registered their team.