Hoping to provide help here.
User Roles in courseware are a bit confusing since we are dealing with WP roles, BP group roles, and as well as courseware roles (teacher/student). This gives us three realms of roles and they seem to be confusing and conflicting.
For example, as it is now, anybody can create a BP group and thus a class or course, but we may not want students to be able to create a classes or course.
It may be better to integrate the teacher and student roles as global roles, so teachers stay teachers, and student stay students in all realms. See the “members” plugin, which may be helpful for creating capabilities for new WP user roles.
Then, use these global roles in the realm of buddypress to allow ONLY teachers to create courses. And, possibly other capabilities.
Then, create a “course management” capability that is specific to each class or course (this is what you currently have as the teacher role now). When a teacher creates a course, they become the “course manager” by default. The teacher, as course manager, would be able to give course management capabilities to other course managers. They could give management capability to other teachers or even students (e.g. teaching assistants).
Does that make sense?
You must be logged in to reply to this topic.