8 posts / 0 new
Last post
skg
Offline
Last seen: 3 years 2 months ago
Joined: 06/19/2016
Question about roles

I installed opigno v1.22 from the .ZIP file on my Windows 10 laptop running under Apache (UwAmp) , but cannot find the roles listed in the user manual (Administrator, Student manager, ...). In the MYSQL table 'role' there are only two entries: 'anonymous user' and 'authenticated user'.

Secondly I also get this warning:
Notice: Use of undefined constant OPIGNO_COURSE_BUNDLE - assumed 'OPIGNO_COURSE_BUNDLE' in opigno_lms_init() (line 48 of ....\opigno\profiles\opigno_lms\opigno_lms.profile)

Many thanks for your help
skg

axel
Offline
Last seen: 3 days 8 hours ago
Staff
Joined: 09/25/2013
Hi

Hi

Did you install Opigno as a distribution (https://www.drupal.org/project/opigno_lms) or as a module added to an existing Drupal site (https://www.drupal.org/project/opigno)?

 

ench0
ench0's picture
Offline
Last seen: 2 years 2 months ago
Joined: 07/13/2017
roles described in Opigno_User-Manual.pdf not present in distro

Reviving this thread as it seems relevant (instead of creating a new post)...

After installing opigno_lms-7.x-1.25-core.tar.gz, these are the roles I have available in admin/people/permissions:


anonymous user
authenticated user
forum administrator
student manager
administrator

The roles according to 170119_Opigno_User-Manual.pdf should be :


Administrator
Student Manager
Forum administrator
Forum moderator
Manager
Teacher
Coach
Student

As you can see there's 4 roles in the software (not counting anon) vs 8 roles in the PDF.

Below I tried to match them as best I could.
anonymous user --> N/A
authenticated user --> Student ( ? ? ? ? )
forum administrator --> Forum administrator
student manager --> Student Manager
administrator --> Administrator
? ? ? ? --> Forum moderator
? ? ? ? --> Manager
? ? ? ? --> Teacher
? ? ? ? --> Coach

Please explain what should we do about the missing roles? The missing roles are:

? ? ? ? --> Forum moderator
? ? ? ? --> Manager
? ? ? ? --> Teacher
? ? ? ? --> Coach

axel
Offline
Last seen: 3 days 8 hours ago
Staff
Joined: 09/25/2013
Hi

Hi

If you carefully read our user manual, you will discover that there are global roles (at platform level) and local roles (at course or class level)

That explains the missing roles in admin/people/permissions

Best regards.

ench0
ench0's picture
Offline
Last seen: 2 years 2 months ago
Joined: 07/13/2017
After reading the PDF

After reading the PDF (carefully, several times) AND going through the processes of creating a Class and then adding people to the Class I now see what you (and the documentation) mean. Thank you.
IMHO this part of the Manual could and should be improved. It is hard to understand for a person who is familiar with general drupal concepts, let alone total drupal beginners.
It is probably something related to Organic Groups which may be obvious to those who have worked with them but I have not, so it took me some time to figure it out.
A table like this, where the relation is "drupal Role ... is required for Class/Course Role" would be more easy to understand:

+-----------------+------------+-------------+
| Platform Role _ | Class Role | Course Role |
| Student Manager | _ Coach __ | _ Teacher _ |
+-----------------+------------+-------------+

axel
Offline
Last seen: 3 days 8 hours ago
Staff
Joined: 09/25/2013
Not really since a student

Not really since a student manager can be a teacher or a manager in a course

Yes, this is related to OG roles

This will be simplified in the D8 version of Opigno, to make it easier to understand, while keeping a large flexibility

raf
Offline
Last seen: 1 year 3 months ago
Joined: 06/13/2018
Can you provide a walk-through of how you set that up?

Bro. I am having the same issue. I am a drupal coder, and I cannot understand Opigno's logic. Could you please share the steps to set up your roles for courses/classes? -Thanks
This is a good program, it just needs a few touch-ups. :)

axel
Offline
Last seen: 3 days 8 hours ago
Staff
Joined: 09/25/2013
Hello Raf,

Hello Raf,

You can have a look at our user manual:

https://opigno.atlassian.net/wiki/spaces/OUM/pages/360599/Overview+of+th...