README.md in gds-sso-4.0.0 vs README.md in gds-sso-5.0.0

- old
+ new

@@ -37,16 +37,18 @@ It should have the following fields: string "name" string "email" string "uid" array "permissions" + array "organisations" boolean "remotely_signed_out", :default => false You also need to include `GDS::SSO::ControllerMethods` in your ApplicationController -For ActiveRecord, you probably want to declare permissions as "serialized" like this: +For ActiveRecord, you probably want to declare permissions and organisations as "serialized" like this: serialize :permissions, Array + serialize :organisations, Array ## Use in development mode In development, you generally want to be able to run an application without needing to run your own SSO server to be running as well. GDS-SSO facilitates this by using a 'mock' mode in development. Mock mode loads an arbitrary user from the local application's user tables: