Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add contains or equals opperator #16

Open
ialearn opened this issue Apr 26, 2024 · 0 comments
Open

Add contains or equals opperator #16

ialearn opened this issue Apr 26, 2024 · 0 comments

Comments

@ialearn
Copy link

ialearn commented Apr 26, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant