Browse Source

better share info

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
8b0c53073b
  1. 7
      app/controllers/permissions_controller.rb

7
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

Loading…
Cancel
Save