-
Notifications
You must be signed in to change notification settings - Fork 2
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
delete a class should delete a campaign that only that class is associated with #43
Comments
Nope, I think you got it. This makes the class deletion process a bit more complex though: on delete:
|
Does the teacher user have sufficient privileges to see which classes are attached to a campaign that are not his own class? |
|
It turns out we already have this issue with the setup.. I am modifying the steps a little.
|
@jeroenooms and I are chatting about this and think it might be a little too malicious given the current feature set. I think the teacher tool should delete campaigns it has created, but notify the user that campaigns weren't deleted (and to visit the campaign manager to delete). Additionally, it would be helpful to have a display in the admin tool notifying of orphaned campaigns, which this scenario could create: mobilizingcs/admin#16 |
Most of the teachers will never go to the campaign page and delete it But that beside the point if we are going to make class tool work for On Fri, Feb 5, 2016 at 10:40 AM, Steve Nolen [email protected]
|
Added a warning for campaigns that were manually added to the class and will not be deleted: 73a0d93 |
This is a feature.. We don't really need it now but will be good to have since it is probably more robust.
Class/search https://github.com/ohmage/server/wiki/Class-Manipulation#classSearch allows you to get a list of campaigns and users associated with a class. With this APIs, the list of campaigns to be deleted can be easily determined...
However, if a campaign is associated with more than one class, when a class is deleted, the campaign is removed from that class, but not completely removed from the system.
@stevenolen Did I miss anything?
The text was updated successfully, but these errors were encountered: