From 8b0c53073bd947d04c66aadb0e3e7016359652dd Mon Sep 17 00:00:00 2001 From: Nicolae Claudius Date: Sun, 29 Jan 2012 08:02:16 -0800 Subject: [PATCH] better share info --- app/controllers/permissions_controller.rb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/controllers/permissions_controller.rb b/app/controllers/permissions_controller.rb index 2ee3a0a..1c43e5a 100644 --- a/app/controllers/permissions_controller.rb +++ b/app/controllers/permissions_controller.rb @@ -6,8 +6,13 @@ class PermissionsController < ApplicationController conf.create.columns = [:domain, :user_email] conf.update.columns = [:domain, :user_email] conf.columns[:user_email].form_ui = :virtual - conf.columns[:user_email].description = 'user\'s email address, to share with. Ex. jhon.doe@domain.com' + conf.columns[:user_email].description = <<-DOC + User's email address, to share with. Ex. jhon.doe@domain.com . + The selected user will be able to administer this domain, + including it's records, it's subdomains and their records. + DOC conf.create.link.label = 'Share Domain' + # conf.columns[:user_email].search_sql = 'user.email' # conf.columns[:user].search_sql = 'CONCAT(first_name, ' ', last_name)' end