|
|
@ -6,8 +6,13 @@ class PermissionsController < ApplicationController |
|
|
|
conf.create.columns = [:domain, :user_email] |
|
|
|
conf.create.columns = [:domain, :user_email] |
|
|
|
conf.update.columns = [:domain, :user_email] |
|
|
|
conf.update.columns = [:domain, :user_email] |
|
|
|
conf.columns[:user_email].form_ui = :virtual |
|
|
|
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.create.link.label = 'Share Domain' |
|
|
|
|
|
|
|
|
|
|
|
# conf.columns[:user_email].search_sql = 'user.email' |
|
|
|
# conf.columns[:user_email].search_sql = 'user.email' |
|
|
|
# conf.columns[:user].search_sql = 'CONCAT(first_name, ' ', last_name)' |
|
|
|
# conf.columns[:user].search_sql = 'CONCAT(first_name, ' ', last_name)' |
|
|
|
end |
|
|
|
end |
|
|
|