Commit 5ce69805 authored by metzlerd's avatar metzlerd
Browse files

Make security settings required.

parent 7fca73b8
...@@ -107,6 +107,7 @@ function forena_query_builder_form($formid, &$form_state) { ...@@ -107,6 +107,7 @@ function forena_query_builder_form($formid, &$form_state) {
'#description' => t('Value depends on the security for the data block, '#description' => t('Value depends on the security for the data block,
but for drupal data, this is a right as defined by the module provided. '), but for drupal data, this is a right as defined by the module provided. '),
'#type' => 'textfield', '#type' => 'textfield',
'#required' => TRUE,
'#disabled' => !user_access('forena data security') || @$block['locked'], '#disabled' => !user_access('forena data security') || @$block['locked'],
'#default_value' => $block['access'], '#default_value' => $block['access'],
); );
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment