added active flag to users and updated admin users page to allow admin to update the value
updated column text

Updated inactive message

updated mailers to exclude inactive users except for sharing and devise emails about their account

added tests for super admin users. added functionality for super admin to edit user info

added org and created columns to users table

swapped in good schema.rb

removed debug line

added new field to schem.rb manually

fixed schema.rb

added button to go back to users and switched from and to &&

fixed typo in schema.rb
dev
1 parent 7539038 commit 77014f5acbbeca1fe1a2b971ba933c9f382492bc
@briley briley authored on 15 Mar 2018
Brian Riley committed on 20 Mar 2018
Showing 27 changed files
View
app/controllers/super_admin/orgs_controller.rb
View
app/controllers/super_admin/users_controller.rb 0 → 100644
View
app/controllers/users_controller.rb
View
app/mailers/user_mailer.rb
View
app/models/user.rb
View
app/policies/user_policy.rb
View
app/views/paginable/users/_index.html.erb
View
app/views/shared/_my_org.html.erb
View
app/views/super_admin/users/edit.html.erb 0 → 100644
View
app/views/users/_admin_grant_permissions.html.erb
View
config/locales/devise/devise.de.yml
View
config/locales/devise/devise.en_GB.yml
View
config/locales/devise/devise.en_US.yml
View
config/locales/devise/devise.es.yml
View
config/locales/devise/devise.fr.yml
View
config/routes.rb
View
db/migrate/20180315161757_add_active_to_users.rb 0 → 100644
View
db/schema.rb
View
lib/assets/javascripts/application.js
View
lib/assets/javascripts/utils/autoComplete.js
View
lib/assets/javascripts/views/super_admin/users/edit.js 0 → 100644
View
lib/assets/javascripts/views/users/admin_grant_permissions.js
View
lib/assets/stylesheets/overrides.scss
View
test/functional/super_admin/orgs_controller_test.rb
View
test/functional/super_admin/users_controller_test.rb 0 → 100644
View
test/integration/user_activation_test.rb 0 → 100644
View
test/unit/user_test.rb