ohmage / gwt-front-end

The javascript/GWT code behind the front end.
6 stars 2 forks source link

admin cannot modify/delete campaign in specific case #303

Open stevenolen opened 10 years ago

stevenolen commented 10 years ago

just a note.

An admin has no control over a campaign from the frontend when they are 1)not an author and 2)the campaign is attached to no class.

Current workaround is to update campaign to have admin as author via curl (or easypost): curl -d 'client=curl&auth_token=token_here&campaign_urn=campaign:urn:here&user_role_list_add=admin.user;author' https://ohmageserver/app/campaign/update