Skip to content

Add contains or equals opperator  #16

Open
@ialearn

Description

@ialearn

Hi
I have a request that I think would add great value to the plugin.
In our case specifically we work with many different companies who have different branches within the company, so my example will be based on this, but it could easily be applied to different teachers teaching the same course but having separate cohorts per teacher.

If you have for instance you have 10 companies each with 20 branches you end up with 200 cohorts.

Company all 10 companies get access to the same study material and content with one exception each one has a custom certificate for their company, which means using your plugin we can achieve this by restricting each certificate to the 20 cohorts linked to that company, but this does mean adding 200 restriction rules per course, which sucks but I can deal with that if I must.
Where my issue comes in is company one then opens 2 new branches which means that besides creating the cohort's we need to remember to go add these 2 new cohorts to all the restriction settings in all the courses. We use a cohort naming convention of "Company Name - Branch - subbranch"

What I would like to propose is a way to tell the plugin to restrict based on "Cohort Name Contains" or "Cohort Name =" (which is basically what ti doe now.

The Contains function would allow people to enter a portion of the cohort name and restrict based on any cohort that contains that word, which drastically cuts down on the amount of restriction rules that need to be added to an activity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions