History for dmpopidor / app / models / user.rb
2016-11-02
@briley
switched User->Language relationship in Model from has_one to belongs_to
briley committed on 2 Nov 2016
2016-11-01
@xsrust
updated user permissions conversion to migrate org_admin details properly
xsrust committed on 1 Nov 2016
2016-10-25
@xsrust
modifying relationship between users and organisations \n -users now belong_to organisation \n -organisations now have_many users \n -removed the depricated user_org_roles structure with migration \n -moved data out of that structure into the existing organisation_id field of users to complete relationship \n -re-evaluated functions to do with organisation_id field, as it was used as a placeholder before
xsrust committed on 25 Oct 2016
2016-10-18
@Jimmy Angelakos
Merge branch 'master' of https://github.com/DMPRoadmap/roadmap into postgresql
Jimmy Angelakos committed on 18 Oct 2016
2016-10-07
@xsrust
updated the update_user_permissions function to make it more performant
xsrust committed on 7 Oct 2016
2016-10-06
@briley
added nil check to user model's keep token method
briley committed on 6 Oct 2016
2016-10-04
@briley
Fixed typos: changed all change_org_detials to change_org_details
briley committed on 4 Oct 2016
2016-09-29
@briley
Updated association between User and Organisation to reflect the removed user_org_roles table. Each User now belongs_to an Organisation.
briley committed on 29 Sep 2016
2016-09-09
@Brian Riley
reverted back changes to user<-->org relationship. added missing api and magic strings sections to the other locale files.
Brian Riley committed on 9 Sep 2016
@Brian Riley
Revert "Fix to bug in user model that was preventing the organisation association from working (#30)" ...
Brian Riley committed on 9 Sep 2016
2016-09-07
@Brian Riley
Fix to bug in user model that was preventing the organisation association from working (#30) ...
Brian Riley authored on 7 Sep 2016 GitHub committed on 7 Sep 2016
2016-09-06
@Brian Riley
Commented out deprecated user.organisation_id method (#29) ...
Brian Riley authored on 6 Sep 2016 GitHub committed on 6 Sep 2016
2016-09-01
@xsrust
updated efficiency of update_user_permissions
xsrust committed on 1 Sep 2016
@xsrust
more merge conflicts
xsrust committed on 1 Sep 2016
@xsrust
overhaul of performance of users admin-index
xsrust committed on 1 Sep 2016
@xsrust
added docs to new function
xsrust committed on 1 Sep 2016
@xsrust
finished changes to update_user_permissions
xsrust committed on 1 Sep 2016
@xsrust
made changed to user.rb
xsrust committed on 1 Sep 2016
@xsrust
made changes to update user permissions
xsrust committed on 1 Sep 2016
@xsrust
added debug to update_user_permissions
xsrust committed on 1 Sep 2016
@xsrust
turns out we do user user_org_roles to determine organisation, re-added
xsrust committed on 1 Sep 2016
@xsrust
fixed bug in can_<do permission>? functions
xsrust committed on 1 Sep 2016
@xsrust
updated the organisation_id = (new) in user model, was causing seed to fail
xsrust committed on 1 Sep 2016
@xsrust
updated funciton to ensure no dupelicates
xsrust committed on 1 Sep 2016
@xsrust
added functionality to port users from old auth structure to new
xsrust committed on 1 Sep 2016
@xsrust
ensured users loose roles upon org changing and added depricated tags to roles
xsrust committed on 1 Sep 2016
@xsrust
updated documentation syntax for some models
xsrust committed on 1 Sep 2016
@xsrust
added granting api to orgs permission
xsrust committed on 1 Sep 2016
@xsrust
implimenting auth changes in the views
xsrust committed on 1 Sep 2016
@xsrust
fixed merge conflicts
xsrust committed on 1 Sep 2016