Moodle

no role_assignments for groups

Details

  • Type: New Feature New Feature
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Won't Fix
  • Affects Version/s: 1.9
  • Fix Version/s: None
  • Component/s: General
  • Labels:
    None
  • Database:
    MySQL
  • Affected Branches:
    MOODLE_19_STABLE

Description

The entries for groups (and modules, ...) are missing in the DB-table 'role_assignments'.
There are just assignments for courses and the whole site.
So everytime you check for certain capabilities for e. g. groups, you will just get an array including the admin-users.

This is really bad espacially for modules that check for these capabilities.
Please check as soon as possible...

Activity

Hide
Petr Škoda (skodak) added a comment -

It is technically not possible to assign roles in groups. I doubt it will ever be implemented, sorry.
The data structures and API come from 1.7dev times and teh group argument/field was never used.

Show
Petr Škoda (skodak) added a comment - It is technically not possible to assign roles in groups. I doubt it will ever be implemented, sorry. The data structures and API come from 1.7dev times and teh group argument/field was never used.

People

Vote (0)
Watch (2)

Dates

  • Created:
    Updated:
    Resolved: