permission_forge 0.14.1 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +2433 -0
- data/README.md +76 -25
- data/app/controllers/concerns/permission_forge/api/crud_actions.rb +3 -2
- data/app/controllers/concerns/permission_forge/api/input_shapes.rb +200 -0
- data/app/controllers/concerns/permission_forge/api/pagination.rb +12 -5
- data/app/controllers/concerns/permission_forge/api/response_renderer.rb +42 -1
- data/app/controllers/concerns/permission_forge/api_authentication.rb +13 -2
- data/app/controllers/concerns/permission_forge/cache_confirmation.rb +42 -11
- data/app/controllers/concerns/permission_forge/change_review.rb +42 -0
- data/app/controllers/concerns/permission_forge/copy_refusal.rb +39 -0
- data/app/controllers/concerns/permission_forge/param_shapes.rb +207 -7
- data/app/controllers/concerns/permission_forge/save_notice.rb +69 -0
- data/app/controllers/permission_forge/api/audit_events_controller.rb +10 -1
- data/app/controllers/permission_forge/api/base_controller.rb +163 -12
- data/app/controllers/permission_forge/api/dashboard_controller.rb +29 -4
- data/app/controllers/permission_forge/api/permission_set_group_users_controller.rb +5 -2
- data/app/controllers/permission_forge/api/permission_set_groups_controller.rb +5 -4
- data/app/controllers/permission_forge/api/permission_set_rules_controller.rb +7 -5
- data/app/controllers/permission_forge/api/permission_set_users_controller.rb +80 -19
- data/app/controllers/permission_forge/api/permission_sets_controller.rb +12 -6
- data/app/controllers/permission_forge/api/resource_actions_controller.rb +1 -1
- data/app/controllers/permission_forge/api/resource_fields_controller.rb +3 -4
- data/app/controllers/permission_forge/api/resources_controller.rb +26 -12
- data/app/controllers/permission_forge/api/unmatched_routes_controller.rb +20 -0
- data/app/controllers/permission_forge/application_controller.rb +39 -5
- data/app/controllers/permission_forge/assignments_controller.rb +36 -34
- data/app/controllers/permission_forge/audit_events_controller.rb +11 -0
- data/app/controllers/permission_forge/bulk_assignments_controller.rb +8 -4
- data/app/controllers/permission_forge/field_lookups_controller.rb +1 -1
- data/app/controllers/permission_forge/maintenance_controller.rb +6 -2
- data/app/controllers/permission_forge/people_controller.rb +17 -15
- data/app/controllers/permission_forge/permission_set_editor.rb +22 -6
- data/app/controllers/permission_forge/permission_set_group_users_controller.rb +3 -1
- data/app/controllers/permission_forge/permission_set_groups_controller.rb +23 -9
- data/app/controllers/permission_forge/permission_set_rules_controller.rb +20 -10
- data/app/controllers/permission_forge/permission_sets_controller.rb +31 -67
- data/app/controllers/permission_forge/resource_actions_controller.rb +11 -6
- data/app/controllers/permission_forge/resource_fields_controller.rb +37 -19
- data/app/controllers/permission_forge/resources_controller.rb +12 -11
- data/app/frontend/permission_forge/pf_admin.css +154 -19
- data/app/frontend/permission_forge/pf_admin.js +109 -0
- data/app/helpers/permission_forge/application_helper.rb +23 -72
- data/app/helpers/permission_forge/audit_attribution_helper.rb +77 -0
- data/app/helpers/permission_forge/audit_helper.rb +57 -119
- data/app/helpers/permission_forge/audit_records_helper.rb +103 -0
- data/app/helpers/permission_forge/audit_sentences_helper.rb +56 -2
- data/app/helpers/permission_forge/badges_helper.rb +74 -17
- data/app/helpers/permission_forge/changes_helper.rb +24 -6
- data/app/helpers/permission_forge/conditions_helper.rb +119 -0
- data/app/helpers/permission_forge/labels_helper.rb +134 -0
- data/app/helpers/permission_forge/people_helper.rb +11 -19
- data/app/helpers/permission_forge/rule_problems_helper.rb +73 -0
- data/app/helpers/permission_forge/sentences_helper.rb +119 -98
- data/app/helpers/permission_forge/set_summaries_helper.rb +144 -0
- data/app/helpers/permission_forge/settings_helper.rb +2 -2
- data/app/helpers/permission_forge/ui_helper.rb +69 -7
- data/app/models/permission_forge/audit_event.rb +5 -1
- data/app/models/permission_forge/permission_set.rb +208 -18
- data/app/models/permission_forge/permission_set_group.rb +10 -4
- data/app/models/permission_forge/permission_set_group_user.rb +3 -1
- data/app/models/permission_forge/permission_set_rule.rb +254 -17
- data/app/models/permission_forge/permission_set_user.rb +38 -3
- data/app/models/permission_forge/resource.rb +18 -8
- data/app/models/permission_forge/resource_action.rb +15 -6
- data/app/models/permission_forge/resource_field.rb +97 -11
- data/app/views/permission_forge/assignments/confirm_destroy.html.erb +4 -4
- data/app/views/permission_forge/assignments/new.html.erb +10 -6
- data/app/views/permission_forge/audit_events/index.html.erb +1 -1
- data/app/views/permission_forge/audit_events/show.html.erb +16 -9
- data/app/views/permission_forge/audit_events/unavailable.html.erb +7 -0
- data/app/views/permission_forge/bulk_assignments/confirm_revoke.html.erb +3 -3
- data/app/views/permission_forge/bulk_assignments/new.html.erb +3 -3
- data/app/views/permission_forge/field_lookups/show.html.erb +2 -2
- data/app/views/permission_forge/home/_broken_rules_card.html.erb +35 -0
- data/app/views/permission_forge/home/_conditions_card.html.erb +28 -0
- data/app/views/permission_forge/home/_ending_card.html.erb +11 -5
- data/app/views/permission_forge/home/_expired_card.html.erb +1 -1
- data/app/views/permission_forge/home/_mask_strategies_card.html.erb +27 -0
- data/app/views/permission_forge/home/_privacy_card.html.erb +21 -7
- data/app/views/permission_forge/home/_rules_card.html.erb +1 -1
- data/app/views/permission_forge/home/_secret_rules_card.html.erb +33 -0
- data/app/views/permission_forge/home/_stale_card.html.erb +7 -5
- data/app/views/permission_forge/home/_tidy_card.html.erb +1 -1
- data/app/views/permission_forge/home/index.html.erb +5 -6
- data/app/views/permission_forge/people/_access_tab.html.erb +26 -19
- data/app/views/permission_forge/people/_audit_tab.html.erb +12 -8
- data/app/views/permission_forge/people/_effective_field_source.html.erb +13 -7
- data/app/views/permission_forge/people/_effective_tab.html.erb +16 -15
- data/app/views/permission_forge/people/_effective_why.html.erb +20 -16
- data/app/views/permission_forge/people/_why_item.html.erb +1 -1
- data/app/views/permission_forge/people/confirm_remove_all.html.erb +3 -3
- data/app/views/permission_forge/people/erasure_preview.html.erb +1 -1
- data/app/views/permission_forge/permission_set_groups/confirm_destroy.html.erb +3 -3
- data/app/views/permission_forge/permission_set_groups/index.html.erb +3 -3
- data/app/views/permission_forge/permission_set_groups/show.html.erb +28 -19
- data/app/views/permission_forge/permission_set_rules/_builder.html.erb +35 -15
- data/app/views/permission_forge/permission_set_rules/_preview.html.erb +17 -0
- data/app/views/permission_forge/permission_set_rules/confirm_destroy.html.erb +3 -3
- data/app/views/permission_forge/permission_set_rules/preview.html.erb +12 -0
- data/app/views/permission_forge/permission_sets/_assignments_tab.html.erb +37 -22
- data/app/views/permission_forge/permission_sets/_audit_tab.html.erb +8 -4
- data/app/views/permission_forge/permission_sets/_condition_problems.html.erb +15 -0
- data/app/views/permission_forge/permission_sets/_conditions_tab.html.erb +14 -8
- data/app/views/permission_forge/permission_sets/_header.html.erb +6 -5
- data/app/views/permission_forge/permission_sets/_overview_body.html.erb +58 -0
- data/app/views/permission_forge/permission_sets/_records_summary.html.erb +2 -2
- data/app/views/permission_forge/permission_sets/_resources_tab.html.erb +4 -4
- data/app/views/permission_forge/permission_sets/_set_summary_cells.html.erb +53 -0
- data/app/views/permission_forge/permission_sets/_set_summary_links.html.erb +14 -0
- data/app/views/permission_forge/permission_sets/confirm_destroy.html.erb +4 -4
- data/app/views/permission_forge/permission_sets/confirm_switch_mode.html.erb +3 -3
- data/app/views/permission_forge/permission_sets/index.html.erb +25 -19
- data/app/views/permission_forge/permission_sets/new.html.erb +2 -2
- data/app/views/permission_forge/permission_sets/overview.html.erb +24 -0
- data/app/views/permission_forge/permission_sets/review.html.erb +13 -3
- data/app/views/permission_forge/permission_sets/show.html.erb +7 -5
- data/app/views/permission_forge/resource_actions/_across_sets.html.erb +7 -10
- data/app/views/permission_forge/resource_actions/_effect.html.erb +5 -5
- data/app/views/permission_forge/resource_actions/_form.html.erb +1 -1
- data/app/views/permission_forge/resource_actions/_managed_note.html.erb +5 -3
- data/app/views/permission_forge/resource_actions/confirm_destroy.html.erb +1 -1
- data/app/views/permission_forge/resource_actions/new.html.erb +1 -1
- data/app/views/permission_forge/resource_actions/show.html.erb +2 -2
- data/app/views/permission_forge/resource_fields/_explain.html.erb +19 -15
- data/app/views/permission_forge/resource_fields/show.html.erb +21 -12
- data/app/views/permission_forge/resources/_actions_tab.html.erb +4 -4
- data/app/views/permission_forge/resources/_fields_tab.html.erb +17 -9
- data/app/views/permission_forge/resources/_rules_tab.html.erb +9 -6
- data/app/views/permission_forge/resources/_sync.html.erb +8 -5
- data/app/views/permission_forge/resources/confirm_destroy.html.erb +3 -3
- data/app/views/permission_forge/resources/new.html.erb +3 -2
- data/app/views/permission_forge/resources/show.html.erb +6 -6
- data/app/views/permission_forge/settings/_row.html.erb +2 -2
- data/app/views/permission_forge/settings/show.html.erb +10 -1
- data/app/views/permission_forge/shared/_across_sets.html.erb +8 -9
- data/app/views/permission_forge/shared/_audit_events.html.erb +2 -2
- data/app/views/permission_forge/shared/_audit_footer.html.erb +13 -2
- data/app/views/permission_forge/shared/_audit_unavailable.html.erb +2 -0
- data/app/views/permission_forge/shared/_crud_cell.html.erb +6 -6
- data/app/views/permission_forge/shared/_mode_banners.html.erb +1 -1
- data/app/views/permission_forge/shared/_savebar.html.erb +4 -2
- data/config/locales/permission_forge.en.yml +594 -69
- data/config/locales/permission_forge.mk.yml +616 -79
- data/config/locales/permission_forge.sq.yml +626 -80
- data/config/routes.rb +39 -23
- data/lib/generators/permission_forge/install/install_generator.rb +21 -0
- data/lib/generators/permission_forge/install/templates/initializer.rb.tt +35 -34
- data/lib/generators/permission_forge/install/templates/migration.rb.tt +5 -5
- data/lib/permission_forge/activation_conditions.rb +200 -0
- data/lib/permission_forge/admin/action_label.rb +33 -0
- data/lib/permission_forge/admin/action_rows.rb +3 -1
- data/lib/permission_forge/admin/actor_label.rb +52 -0
- data/lib/permission_forge/admin/attention_items.rb +152 -31
- data/lib/permission_forge/admin/audit_log.rb +4 -7
- data/lib/permission_forge/admin/audit_trail.rb +33 -17
- data/lib/permission_forge/admin/bulk_people_matcher.rb +32 -14
- data/lib/permission_forge/admin/chain_entries.rb +42 -0
- data/lib/permission_forge/admin/change_set.rb +12 -1
- data/lib/permission_forge/admin/change_set_parts/base.rb +5 -4
- data/lib/permission_forge/admin/change_set_parts/context.rb +3 -1
- data/lib/permission_forge/admin/change_set_parts/field_edit.rb +4 -1
- data/lib/permission_forge/admin/change_set_parts/field_levels.rb +1 -1
- data/lib/permission_forge/admin/change_set_parts/new_actions.rb +1 -1
- data/lib/permission_forge/admin/change_set_parts/new_fields.rb +38 -11
- data/lib/permission_forge/admin/change_set_parts/resource_edit.rb +17 -1
- data/lib/permission_forge/admin/change_set_parts/resource_flags.rb +1 -1
- data/lib/permission_forge/admin/change_set_parts/set_attrs.rb +4 -0
- data/lib/permission_forge/admin/change_set_parts/values.rb +10 -4
- data/lib/permission_forge/admin/column_fields.rb +22 -21
- data/lib/permission_forge/admin/conditions_form.rb +47 -15
- data/lib/permission_forge/admin/controller_catalog.rb +42 -14
- data/lib/permission_forge/admin/editable_lock.rb +83 -3
- data/lib/permission_forge/admin/effective_access.rb +147 -48
- data/lib/permission_forge/admin/effective_fields.rb +75 -67
- data/lib/permission_forge/admin/error_sentence.rb +47 -0
- data/lib/permission_forge/admin/expiry_presets.rb +17 -0
- data/lib/permission_forge/admin/exports/holdings.rb +6 -3
- data/lib/permission_forge/admin/field_across_sets.rb +7 -4
- data/lib/permission_forge/admin/field_chain.rb +109 -0
- data/lib/permission_forge/admin/field_detail.rb +24 -11
- data/lib/permission_forge/admin/field_label.rb +109 -0
- data/lib/permission_forge/admin/field_level.rb +4 -68
- data/lib/permission_forge/admin/field_provenance.rb +132 -0
- data/lib/permission_forge/admin/field_rows.rb +26 -11
- data/lib/permission_forge/admin/last_changes.rb +15 -1
- data/lib/permission_forge/admin/list_sentence.rb +32 -0
- data/lib/permission_forge/admin/mask_strategy_choices.rb +57 -0
- data/lib/permission_forge/admin/model_catalog.rb +83 -39
- data/lib/permission_forge/admin/model_label.rb +66 -0
- data/lib/permission_forge/admin/people_candidates.rb +21 -9
- data/lib/permission_forge/admin/people_directory.rb +23 -5
- data/lib/permission_forge/admin/permission_set_factory.rb +6 -15
- data/lib/permission_forge/admin/permission_set_list.rb +62 -0
- data/lib/permission_forge/admin/person_label.rb +105 -16
- data/lib/permission_forge/admin/prefill.rb +92 -0
- data/lib/permission_forge/admin/record_name.rb +45 -0
- data/lib/permission_forge/admin/rule_builder.rb +77 -3
- data/lib/permission_forge/admin/rule_form.rb +44 -10
- data/lib/permission_forge/admin/rule_form_input.rb +27 -11
- data/lib/permission_forge/admin/rule_notes.rb +43 -0
- data/lib/permission_forge/admin/rule_preview.rb +96 -0
- data/lib/permission_forge/admin/sensitive_columns.rb +10 -62
- data/lib/permission_forge/admin/set_overview.rb +100 -0
- data/lib/permission_forge/admin/set_summaries.rb +174 -0
- data/lib/permission_forge/admin/settings_catalog.rb +64 -12
- data/lib/permission_forge/admin/state_label.rb +99 -0
- data/lib/permission_forge/admin_method_override.rb +44 -0
- data/lib/permission_forge/api/schema.rb +324 -0
- data/lib/permission_forge/api/serializers/base_serializer.rb +87 -1
- data/lib/permission_forge/api/serializers/permission_set_group_user_serializer.rb +1 -1
- data/lib/permission_forge/api/serializers/permission_set_rule_serializer.rb +1 -1
- data/lib/permission_forge/api/serializers/permission_set_serializer.rb +5 -2
- data/lib/permission_forge/api/serializers/permission_set_user_serializer.rb +1 -1
- data/lib/permission_forge/api/serializers/resource_action_serializer.rb +1 -1
- data/lib/permission_forge/api/serializers/resource_field_serializer.rb +1 -1
- data/lib/permission_forge/api/serializers/resource_serializer.rb +1 -1
- data/lib/permission_forge/api_authorizations.rb +59 -0
- data/lib/permission_forge/api_only_admin.rb +81 -0
- data/lib/permission_forge/audit/actor_codes.rb +32 -0
- data/lib/permission_forge/audit/actor_resolver.rb +1 -2
- data/lib/permission_forge/audit/audited_views.rb +20 -2
- data/lib/permission_forge/audit/boot_warnings.rb +29 -9
- data/lib/permission_forge/audit/event_catalog.rb +16 -6
- data/lib/permission_forge/audit/event_query.rb +3 -3
- data/lib/permission_forge/audit/reason_codes.rb +25 -0
- data/lib/permission_forge/audit/runtime.rb +9 -2
- data/lib/permission_forge/audit/settings_observer.rb +2 -2
- data/lib/permission_forge/audit/unmasked_without_user.rb +169 -0
- data/lib/permission_forge/audit.rb +24 -10
- data/lib/permission_forge/boot_checks.rb +180 -63
- data/lib/permission_forge/cache/base.rb +10 -0
- data/lib/permission_forge/cache/null_cache.rb +5 -0
- data/lib/permission_forge/cache/outcome.rb +119 -0
- data/lib/permission_forge/cache/rails_cache.rb +29 -6
- data/lib/permission_forge/cache/report.rb +150 -0
- data/lib/permission_forge/cache/user_keys.rb +8 -4
- data/lib/permission_forge/cache_warnings.rb +140 -0
- data/lib/permission_forge/concerns/auto_permission_scoping.rb +19 -2
- data/lib/permission_forge/concerns/has_tenant_scoping.rb +1 -1
- data/lib/permission_forge/concerns/has_uuid.rb +1 -1
- data/lib/permission_forge/concerns/keeps_copied_values.rb +48 -0
- data/lib/permission_forge/concerns/masked_attributes/alias_access.rb +40 -4
- data/lib/permission_forge/concerns/masked_attributes/virtual_readers.rb +6 -4
- data/lib/permission_forge/concerns/masked_attributes.rb +150 -34
- data/lib/permission_forge/concerns/normalizes_label.rb +78 -0
- data/lib/permission_forge/concerns/permission_cache_accessor.rb +3 -3
- data/lib/permission_forge/concerns/permission_scoped_findable.rb +121 -29
- data/lib/permission_forge/concerns/permissioned_user.rb +1 -1
- data/lib/permission_forge/concerns/records_audit_events.rb +13 -6
- data/lib/permission_forge/concerns/requires_name.rb +37 -0
- data/lib/permission_forge/concerns/validates_column_lengths.rb +24 -0
- data/lib/permission_forge/concerns/validates_dependency.rb +5 -2
- data/lib/permission_forge/concerns/validates_required_columns.rb +74 -0
- data/lib/permission_forge/conditional_sets.rb +13 -6
- data/lib/permission_forge/configuration/admin_ui_settings.rb +18 -4
- data/lib/permission_forge/configuration/audit_settings.rb +2 -1
- data/lib/permission_forge/configuration/controller_action_settings.rb +5 -4
- data/lib/permission_forge/configuration/masked_attributes_settings.rb +73 -19
- data/lib/permission_forge/configuration/presets.rb +20 -11
- data/lib/permission_forge/configuration/query_scoping_settings.rb +55 -0
- data/lib/permission_forge/configuration/strategy_values.rb +2 -1
- data/lib/permission_forge/configuration.rb +41 -18
- data/lib/permission_forge/controller_actions/managed_index.rb +8 -7
- data/lib/permission_forge/database_reach.rb +93 -0
- data/lib/permission_forge/deprecation.rb +1 -1
- data/lib/permission_forge/docs/api_samples.rb +250 -0
- data/lib/permission_forge/docs/configuration_reference.rb +172 -0
- data/lib/permission_forge/encrypted_attributes.rb +150 -0
- data/lib/permission_forge/engine.rb +46 -14
- data/lib/permission_forge/execution_state/restore.rb +74 -0
- data/lib/permission_forge/execution_state.rb +8 -1
- data/lib/permission_forge/field_level.rb +123 -0
- data/lib/permission_forge/field_names.rb +145 -0
- data/lib/permission_forge/field_variants.rb +96 -0
- data/lib/permission_forge/generated_text.rb +95 -0
- data/lib/permission_forge/inspection_filters.rb +83 -0
- data/lib/permission_forge/managed_fields.rb +66 -0
- data/lib/permission_forge/masked_models.rb +25 -19
- data/lib/permission_forge/masking_sync.rb +100 -25
- data/lib/permission_forge/model_bindings.rb +30 -19
- data/lib/permission_forge/model_lookup.rb +42 -0
- data/lib/permission_forge/operators/encrypted_alias.rb +67 -0
- data/lib/permission_forge/operators/registry.rb +6 -0
- data/lib/permission_forge/operators/rule_column.rb +242 -27
- data/lib/permission_forge/operators/rule_path.rb +179 -0
- data/lib/permission_forge/operators/rule_problem.rb +309 -0
- data/lib/permission_forge/operators/rule_sources.rb +96 -0
- data/lib/permission_forge/operators/value_casters/postgresql_types.rb +237 -0
- data/lib/permission_forge/operators/value_casters/temporal.rb +9 -20
- data/lib/permission_forge/operators/value_casters.rb +61 -13
- data/lib/permission_forge/operators/value_typing.rb +83 -7
- data/lib/permission_forge/query_scoping_warnings.rb +22 -17
- data/lib/permission_forge/rake_audit.rb +5 -4
- data/lib/permission_forge/rake_dry_run.rb +32 -0
- data/lib/permission_forge/rake_output.rb +189 -0
- data/lib/permission_forge/record_read_access.rb +51 -0
- data/lib/permission_forge/resource_chain.rb +14 -2
- data/lib/permission_forge/schema_read/ordered_types.rb +72 -0
- data/lib/permission_forge/schema_read.rb +335 -0
- data/lib/permission_forge/secret_columns.rb +49 -0
- data/lib/permission_forge/sensitive_columns.rb +114 -0
- data/lib/permission_forge/services/attribute_access_guard.rb +22 -14
- data/lib/permission_forge/services/bulk_permission_set_assignment.rb +16 -8
- data/lib/permission_forge/services/concerns/clonable.rb +9 -0
- data/lib/permission_forge/services/concerns/settles_cache.rb +58 -0
- data/lib/permission_forge/services/consent_withdrawal_handler.rb +37 -19
- data/lib/permission_forge/services/data_subject_erasure.rb +83 -45
- data/lib/permission_forge/services/expired_assignment_cleaner.rb +62 -25
- data/lib/permission_forge/services/extra_field_defaults.rb +1 -1
- data/lib/permission_forge/services/field_permission_merger.rb +44 -17
- data/lib/permission_forge/services/filters_response_attributes.rb +20 -5
- data/lib/permission_forge/services/gdpr_field_auditor/text_report.rb +33 -5
- data/lib/permission_forge/services/gdpr_field_auditor.rb +68 -48
- data/lib/permission_forge/services/host_key_guard.rb +8 -5
- data/lib/permission_forge/services/mask_value.rb +72 -11
- data/lib/permission_forge/services/permission_cache_clearer.rb +36 -15
- data/lib/permission_forge/services/permission_hash_builder.rb +48 -19
- data/lib/permission_forge/services/permission_rule_applier.rb +131 -68
- data/lib/permission_forge/services/permission_set_cloner.rb +32 -8
- data/lib/permission_forge/services/permission_set_condition_evaluator.rb +38 -36
- data/lib/permission_forge/services/permission_set_group_cloner.rb +2 -1
- data/lib/permission_forge/services/permits_attributes/result.rb +31 -0
- data/lib/permission_forge/services/permits_attributes.rb +48 -27
- data/lib/permission_forge/services/resource_field_generator/row_builder.rb +96 -0
- data/lib/permission_forge/services/resource_field_generator.rb +71 -42
- data/lib/permission_forge/services/resource_with_fields_builder.rb +2 -1
- data/lib/permission_forge/services/rls_operator_sql.rb +83 -24
- data/lib/permission_forge/services/rls_policy_generator.rb +83 -39
- data/lib/permission_forge/services/rls_read_access_sql.rb +131 -0
- data/lib/permission_forge/services/security_audit/action_check.rb +49 -5
- data/lib/permission_forge/services/security_audit/assignment_check.rb +2 -1
- data/lib/permission_forge/services/security_audit/audit_trail_check.rb +1 -3
- data/lib/permission_forge/services/security_audit/conditions_check.rb +92 -0
- data/lib/permission_forge/services/security_audit/config_check.rb +41 -18
- data/lib/permission_forge/services/security_audit/integrity_check.rb +71 -4
- data/lib/permission_forge/services/security_audit/masking_without_user.rb +66 -0
- data/lib/permission_forge/services/security_audit/personal_data_check.rb +7 -11
- data/lib/permission_forge/services/security_audit/rule_check.rb +180 -50
- data/lib/permission_forge/services/security_audit/text_report.rb +14 -2
- data/lib/permission_forge/services/security_audit/unmanaged_actions.rb +145 -0
- data/lib/permission_forge/services/security_audit/user_model_check.rb +4 -3
- data/lib/permission_forge/services/security_audit.rb +16 -4
- data/lib/permission_forge/services/stale_assignment_auditor.rb +8 -5
- data/lib/permission_forge/timestamp_fields.rb +60 -0
- data/lib/permission_forge/unique_conflict.rb +117 -0
- data/lib/permission_forge/version.rb +1 -1
- data/lib/permission_forge/virtual_fields/discovery.rb +2 -1
- data/lib/permission_forge/virtual_fields.rb +15 -5
- data/lib/permission_forge/warnings.rb +263 -0
- data/lib/permission_forge/web_request.rb +248 -0
- data/lib/permission_forge.rb +57 -0
- data/lib/tasks/permission_forge.rake +26 -6
- data/lib/tasks/permission_forge_audit_events.rake +8 -4
- data/lib/tasks/permission_forge_cache.rake +12 -12
- data/lib/tasks/permission_forge_docs.rake +48 -0
- data/lib/tasks/permission_forge_expiration.rake +11 -5
- data/lib/tasks/permission_forge_gdpr.rake +36 -20
- metadata +94 -1
|
@@ -3,14 +3,53 @@ en:
|
|
|
3
3
|
permission_forge:
|
|
4
4
|
api:
|
|
5
5
|
errors:
|
|
6
|
+
action_authorization_missing: API changes need config.api_action_authorization;
|
|
7
|
+
they are refused while it is unset and config.api_require_authorization
|
|
8
|
+
is on
|
|
6
9
|
action_not_authorized: Action not authorized
|
|
10
|
+
assignment_authorization_missing: API assignments need config.api_assignment_authorization;
|
|
11
|
+
they are refused while it is unset and config.api_require_authorization
|
|
12
|
+
is on
|
|
7
13
|
assignment_not_authorized: Assignment not authorized
|
|
14
|
+
audit_unavailable_missing: The audit log is not set up because its table does
|
|
15
|
+
not exist. Run bin/rails generate permission_forge:upgrade and migrate.
|
|
16
|
+
audit_unavailable_off: The audit log is not available because audit events
|
|
17
|
+
are turned off (audit_events = false) and there is no audit table.
|
|
18
|
+
body_unreadable: The request body could not be read. Send valid JSON with
|
|
19
|
+
Content-Type application/json.
|
|
20
|
+
boolean_invalid: must be true or false
|
|
21
|
+
bulk_action_invalid: must be assign or revoke
|
|
22
|
+
expires_at_past: must be in the future
|
|
8
23
|
field_generation_failed: Could not generate fields for this resource
|
|
24
|
+
field_value_shape: must be a string, a number, true or false; a list of them
|
|
25
|
+
(none with a comma) only for in, not_in and between
|
|
26
|
+
flag_shape: must be a string or null
|
|
9
27
|
forbidden: Forbidden
|
|
28
|
+
hour_shape: must be a whole number from 0 to 23, or null
|
|
29
|
+
integer_shape: must be a whole number
|
|
30
|
+
ip_list_empty: has no entry; send null to clear the condition
|
|
31
|
+
ip_list_shape: must be a string or an array of strings (IP addresses or CIDR
|
|
32
|
+
ranges), or null
|
|
10
33
|
not_editable: This record is not editable
|
|
11
34
|
not_found: Record not found
|
|
35
|
+
not_iso8601_time: is not an ISO 8601 date or time
|
|
36
|
+
not_null: A required value is missing. Nothing was saved.
|
|
37
|
+
record_not_unique: Another request saved the same record a moment ago; it
|
|
38
|
+
already exists
|
|
39
|
+
resource_names_no_model: names no model this app can load
|
|
40
|
+
route_not_found: No API endpoint answers this path and method
|
|
41
|
+
section_missing: is missing, empty or not an object
|
|
42
|
+
stats_authorization_missing: GET /api/stats needs config.api_stats_authorization,
|
|
43
|
+
or config.api_stats_require_admin = false
|
|
12
44
|
tenant_required: No tenant is set for this request. The admin API serves one
|
|
13
45
|
tenant at a time.
|
|
46
|
+
text_shape: must be a string
|
|
47
|
+
unauthorized: Not authenticated
|
|
48
|
+
user_id_invalid: is not a user id
|
|
49
|
+
user_id_missing: is missing
|
|
50
|
+
user_ids_missing: must name at least one user
|
|
51
|
+
user_ids_not_list: must be a list of user ids
|
|
52
|
+
user_not_found: names nobody who can be assigned
|
|
14
53
|
assignments:
|
|
15
54
|
confirm_destroy:
|
|
16
55
|
body: "%{name} will lose access to %{resources}, unless another Permission
|
|
@@ -32,6 +71,7 @@ en:
|
|
|
32
71
|
expires: Expires
|
|
33
72
|
filter_sets: Filter Permission Sets
|
|
34
73
|
forever: with no end date
|
|
74
|
+
locked_hint: 'Managed by the system/API: holders can''t be added here.'
|
|
35
75
|
muting_notice: "⊘ Muting. %{sets} takes access away from %{name}, whatever
|
|
36
76
|
their other sets allow."
|
|
37
77
|
no_sets: No Permission Sets match.
|
|
@@ -103,6 +143,7 @@ en:
|
|
|
103
143
|
all_for_record: All events of this record
|
|
104
144
|
all_for_set: All events of this Permission Set
|
|
105
145
|
all_in_action: All events of this action
|
|
146
|
+
all_unknown_actor: All events with no known actor
|
|
106
147
|
attribute: Attribute
|
|
107
148
|
before: Before
|
|
108
149
|
changes: Before and after
|
|
@@ -127,23 +168,30 @@ en:
|
|
|
127
168
|
snapshot_destroyed: The record as it was when it was removed.
|
|
128
169
|
source: Where
|
|
129
170
|
title: Audit event %{event}
|
|
171
|
+
unknown_actor_html: No actor was named for this change (code run outside a
|
|
172
|
+
request, such as a runner or a job). Name one with %{method}.
|
|
130
173
|
uuid: Event id
|
|
131
174
|
value: Value
|
|
132
175
|
what: What
|
|
133
176
|
who: Who, where and why
|
|
134
177
|
audit_log:
|
|
178
|
+
actor_codes:
|
|
179
|
+
api_client: API client
|
|
180
|
+
boot: Application start
|
|
135
181
|
actor_named:
|
|
136
182
|
api: "%{name} (API)"
|
|
137
183
|
basic_auth: "%{name} (password prompt)"
|
|
138
|
-
actor_types:
|
|
139
|
-
api: API client
|
|
140
|
-
basic_auth: Password prompt
|
|
141
|
-
system: System
|
|
142
|
-
unknown: Unknown
|
|
143
|
-
user: Person
|
|
144
184
|
boolean:
|
|
145
185
|
'false': 'No'
|
|
146
186
|
'true': 'Yes'
|
|
187
|
+
cache_scope:
|
|
188
|
+
own_process: 'The cached permissions were cleared only in the process that
|
|
189
|
+
ran it (an in-memory store): every other process kept theirs.'
|
|
190
|
+
server_process: 'The cached permissions were cleared in this server process
|
|
191
|
+
only (an in-memory store): the other web workers and the job processes kept
|
|
192
|
+
theirs.'
|
|
193
|
+
unconfirmed: 'The cache store lives in each process (an in-memory store):
|
|
194
|
+
the other processes keep their cached permissions either way.'
|
|
147
195
|
categories:
|
|
148
196
|
access: Access
|
|
149
197
|
admin: Admin
|
|
@@ -172,6 +220,8 @@ en:
|
|
|
172
220
|
page_of: Page %{page} of %{pages}
|
|
173
221
|
pages_label: Pages
|
|
174
222
|
person_id: 'Person #%{id}'
|
|
223
|
+
reason_codes:
|
|
224
|
+
expired: Its end date had passed
|
|
175
225
|
reason_inline: 'Reason: %{reason}'
|
|
176
226
|
refused:
|
|
177
227
|
body: Reading the audit log is limited by the audit_log_authorization setting,
|
|
@@ -181,8 +231,17 @@ en:
|
|
|
181
231
|
sentence_variants:
|
|
182
232
|
assignment_revoked_expired: "%{actor} removed %{set} from %{person} after
|
|
183
233
|
it expired on %{date}."
|
|
234
|
+
cache_cleared_unconfirmed: "%{actor} asked to clear the cached permissions
|
|
235
|
+
of every user, but the cache store did not confirm it: old permissions may
|
|
236
|
+
stay in use until the cache lifetime ends."
|
|
237
|
+
cache_settled_unconfirmed: 'The cached permissions of %{person} were to be
|
|
238
|
+
cleared after the change by %{actor}, but the cache store did not confirm
|
|
239
|
+
it: the old ones may stay in use until the cache lifetime ends.'
|
|
184
240
|
field_access_limited: "%{actor} read %{record} with these fields hidden or
|
|
185
241
|
masked: %{fields}."
|
|
242
|
+
permissions_invalidated_unconfirmed: 'The cached permissions of %{person}
|
|
243
|
+
were to be cleared, but the cache store did not confirm it: the old ones
|
|
244
|
+
may stay in use until the cache lifetime ends.'
|
|
186
245
|
sentences:
|
|
187
246
|
access:
|
|
188
247
|
denied: "%{actor} was denied access to %{record}."
|
|
@@ -206,6 +265,8 @@ en:
|
|
|
206
265
|
viewed: "%{actor} viewed audit records."
|
|
207
266
|
cache:
|
|
208
267
|
cleared: "%{actor} cleared the cached permissions of every user."
|
|
268
|
+
settled: The cached permissions of %{person} were cleared after the change
|
|
269
|
+
by %{actor}.
|
|
209
270
|
cleanup:
|
|
210
271
|
expired_assignments: "%{actor} removed expired assignments."
|
|
211
272
|
consent:
|
|
@@ -218,6 +279,8 @@ en:
|
|
|
218
279
|
access: "%{actor} read %{record}."
|
|
219
280
|
sensitive_acknowledged: "%{actor} confirmed that the field %{record} in
|
|
220
281
|
%{set} is meant to be readable unmasked."
|
|
282
|
+
unmasked_without_user: A field of %{model} was read unmasked in a web request
|
|
283
|
+
with nobody signed in.
|
|
221
284
|
group_membership:
|
|
222
285
|
added: "%{actor} added %{person} to %{group}."
|
|
223
286
|
changed: "%{actor} changed %{person}'s membership of %{group}."
|
|
@@ -312,6 +375,9 @@ en:
|
|
|
312
375
|
will_assign:
|
|
313
376
|
one: "%{count} will be assigned"
|
|
314
377
|
other: "%{count} will be assigned"
|
|
378
|
+
denials:
|
|
379
|
+
no_read_access: You do not have permission to read %{resource} records.
|
|
380
|
+
rule_default: You do not have permission to perform this action.
|
|
315
381
|
errors:
|
|
316
382
|
admin:
|
|
317
383
|
action_format: Use lowercase letters, numbers and underscores, starting with
|
|
@@ -322,6 +388,9 @@ en:
|
|
|
322
388
|
flag: Session flags can only contain letters, numbers, dots, colons, dashes
|
|
323
389
|
and underscores.
|
|
324
390
|
group_blank: Give the group a name.
|
|
391
|
+
hours_equal: The start and end hour must differ (a window from 9 to 9 is empty).
|
|
392
|
+
hours_incomplete: Choose both the start and the end hour.
|
|
393
|
+
hours_range: Choose hours between 00:00 and 23:00.
|
|
325
394
|
ip: 'Line %{line}: “%{ip}” isn''t a valid IP address or CIDR range.'
|
|
326
395
|
person: Choose a person first.
|
|
327
396
|
resource_model: Pick a model from the list.
|
|
@@ -369,9 +438,40 @@ en:
|
|
|
369
438
|
assigned:
|
|
370
439
|
one: Assigned %{set} to %{count} person.
|
|
371
440
|
other: Assigned %{set} to %{count} people.
|
|
441
|
+
assigned_cache_kept:
|
|
442
|
+
one: Assigned %{set} to %{count} person, but the cache store did not confirm
|
|
443
|
+
that their cached permissions were cleared. The old permissions may stay
|
|
444
|
+
in use until the cache lifetime ends.
|
|
445
|
+
other: Assigned %{set} to %{count} people, but the cache store did not confirm
|
|
446
|
+
that their cached permissions were cleared. The old permissions may stay
|
|
447
|
+
in use until the cache lifetime ends.
|
|
372
448
|
revoked:
|
|
373
449
|
one: Revoked %{set} from %{count} person.
|
|
374
450
|
other: Revoked %{set} from %{count} people.
|
|
451
|
+
revoked_cache_kept:
|
|
452
|
+
one: Revoked %{set} from %{count} person, but the cache store did not confirm
|
|
453
|
+
that their cached permissions were cleared. The old permissions may stay
|
|
454
|
+
in use until the cache lifetime ends.
|
|
455
|
+
other: Revoked %{set} from %{count} people, but the cache store did not
|
|
456
|
+
confirm that their cached permissions were cleared. The old permissions
|
|
457
|
+
may stay in use until the cache lifetime ends.
|
|
458
|
+
cache_not_confirmed: 'The cache store did not confirm that the cached permissions
|
|
459
|
+
were cleared: the old permissions may stay in use until the cache lifetime
|
|
460
|
+
ends.'
|
|
461
|
+
cache_process_local: 'The cache store lives in this server process only (an
|
|
462
|
+
in-memory store): the other web workers and the job processes keep their cached
|
|
463
|
+
permissions until they restart or the entries expire.'
|
|
464
|
+
copy_refused:
|
|
465
|
+
kinds:
|
|
466
|
+
permission_set: Permission Set “%{name}”
|
|
467
|
+
permission_set_group: Permission Set Group “%{name}”
|
|
468
|
+
permission_set_rule: rule “%{name}”
|
|
469
|
+
record: a row
|
|
470
|
+
resource: Resource “%{name}”
|
|
471
|
+
resource_action: action “%{name}”
|
|
472
|
+
resource_field: field “%{name}”
|
|
473
|
+
message: "“%{name}” was not copied: %{record} holds what a new row cannot
|
|
474
|
+
(%{errors}). Correct it, then copy again."
|
|
375
475
|
fields:
|
|
376
476
|
acknowledged: Got it. “%{field}” won't be flagged in the privacy audit again.
|
|
377
477
|
recommendation_applied: Applied the recommended mask to “%{field}”.
|
|
@@ -385,6 +485,7 @@ en:
|
|
|
385
485
|
set_added: Moved “%{set}” into this group.
|
|
386
486
|
set_removed: Removed “%{set}” from this group.
|
|
387
487
|
updated: Group saved. No one's access changed.
|
|
488
|
+
invalid_param: "%{param} %{detail}. Nothing was changed."
|
|
388
489
|
locked_widening: 'This Permission Set is locked: access can be removed or shortened,
|
|
389
490
|
not given or extended.'
|
|
390
491
|
locked_widening_muting: 'This Muting Permission Set is locked: holders can be
|
|
@@ -393,7 +494,17 @@ en:
|
|
|
393
494
|
cleaned:
|
|
394
495
|
one: Removed %{count} expired assignment.
|
|
395
496
|
other: Removed %{count} expired assignments.
|
|
497
|
+
cleaned_cache_kept:
|
|
498
|
+
one: Removed %{count} expired assignment, but the cache store did not confirm
|
|
499
|
+
that the affected people's cached permissions were cleared. The old permissions
|
|
500
|
+
may stay in use until the cache lifetime ends.
|
|
501
|
+
other: Removed %{count} expired assignments, but the cache store did not
|
|
502
|
+
confirm that the affected people's cached permissions were cleared. The
|
|
503
|
+
old permissions may stay in use until the cache lifetime ends.
|
|
504
|
+
no_changes: No changes to save.
|
|
396
505
|
not_editable: This record is not editable.
|
|
506
|
+
not_null: A required value was missing. Nothing was changed; the page shows
|
|
507
|
+
what is there now.
|
|
397
508
|
people:
|
|
398
509
|
cache_refresh_failed: Could not refresh %{name}'s cached permissions. The
|
|
399
510
|
cache store did not confirm it, so the old permissions may stay in use until
|
|
@@ -438,23 +549,33 @@ en:
|
|
|
438
549
|
duplicated_outside_group: 'Duplicated “%{name}”: resources, fields, actions
|
|
439
550
|
and rules were copied. Assignments were not. The copy is not in “%{group}”,
|
|
440
551
|
which is locked.'
|
|
441
|
-
|
|
552
|
+
nothing_applied: 'Nothing to save: %{reasons}.'
|
|
442
553
|
save_failed: 'Nothing was saved: %{errors}'
|
|
443
554
|
saved:
|
|
444
555
|
one: Saved %{count} change. It applies to %{people} now.
|
|
445
556
|
other: Saved %{count} changes. They apply to %{people} now.
|
|
446
557
|
switched_granting: "“%{name}” now grants access."
|
|
447
558
|
switched_muting: "“%{name}” is now a Muting Permission Set."
|
|
559
|
+
record_not_unique: Another request saved the same thing a moment ago. Nothing
|
|
560
|
+
was changed; the page shows what is there now.
|
|
561
|
+
record_not_unique_detail: "%{detail} — another request saved it a moment ago.
|
|
562
|
+
Nothing was changed; the page shows what is there now."
|
|
448
563
|
resources:
|
|
449
564
|
added:
|
|
450
565
|
one: Added %{resource} with %{count} field.
|
|
451
566
|
other: Added %{resource} with %{count} fields.
|
|
567
|
+
added_muting: Added %{resource}. It takes away %{what}.
|
|
568
|
+
added_muting_nothing: 'Added %{resource}. It mutes nothing yet: choose below
|
|
569
|
+
what it takes away.'
|
|
452
570
|
columns_added:
|
|
453
571
|
one: Added %{count} column.
|
|
454
572
|
other: Added %{count} columns.
|
|
455
573
|
missing_removed:
|
|
456
574
|
one: Removed %{count} field whose column no longer exists.
|
|
457
575
|
other: Removed %{count} fields whose columns no longer exist.
|
|
576
|
+
muted_fields:
|
|
577
|
+
one: "%{count} field"
|
|
578
|
+
other: "%{count} fields"
|
|
458
579
|
removed: Removed %{resource} from “%{set}”.
|
|
459
580
|
rules:
|
|
460
581
|
created: Added the rule “%{rule}”.
|
|
@@ -471,6 +592,28 @@ en:
|
|
|
471
592
|
'off': Recording is switched off in the initializer (audit_events = false).
|
|
472
593
|
No change is recorded.
|
|
473
594
|
title: The audit log is not recording
|
|
595
|
+
broken_rules_card:
|
|
596
|
+
description: 'These record rules name a field, table, relationship or condition
|
|
597
|
+
that does not exist, or a value their field cannot hold. Each one matches
|
|
598
|
+
nothing: everyone it applies to is denied every record of the resource.'
|
|
599
|
+
fix: Fix rule
|
|
600
|
+
locked_fix_html: 'Locked (%{flag}): it is managed by the system or API that
|
|
601
|
+
created it, so fix the rule there (or unlock the set in code). A copy made
|
|
602
|
+
here would leave this rule as it is.'
|
|
603
|
+
open: Open rules
|
|
604
|
+
people:
|
|
605
|
+
one: "%{count} person has this set."
|
|
606
|
+
other: "%{count} people have this set."
|
|
607
|
+
rule: "“%{rule}” on %{resource} in “%{set}”"
|
|
608
|
+
title: Rules that match nothing
|
|
609
|
+
conditions_card:
|
|
610
|
+
description: These sets hold a condition that cannot be judged (an IP entry
|
|
611
|
+
that is no address, no entry at all, or a broken hour window).
|
|
612
|
+
open: Fix conditions
|
|
613
|
+
people:
|
|
614
|
+
one: "%{count} person has this set."
|
|
615
|
+
other: "%{count} people have this set."
|
|
616
|
+
title: Activation conditions nobody can judge
|
|
474
617
|
ending_card:
|
|
475
618
|
description: Assignments that end in the next 7 days.
|
|
476
619
|
extend: Extend 30 days
|
|
@@ -515,8 +658,9 @@ en:
|
|
|
515
658
|
people:
|
|
516
659
|
one: "%{count} person has"
|
|
517
660
|
other: "%{count} people have"
|
|
518
|
-
|
|
519
|
-
|
|
661
|
+
search_help: Look up a person by name or email to see what they can access,
|
|
662
|
+
and why
|
|
663
|
+
search_placeholder: Name or email
|
|
520
664
|
sets:
|
|
521
665
|
one: "%{count} active Permission Set"
|
|
522
666
|
other: "%{count} active Permission Sets"
|
|
@@ -525,10 +669,24 @@ en:
|
|
|
525
669
|
one: "%{count} thing to review"
|
|
526
670
|
other: "%{count} things to review"
|
|
527
671
|
title: Needs attention
|
|
672
|
+
mask_strategies_card:
|
|
673
|
+
description: No built-in mask strategy and no custom strategy has these names,
|
|
674
|
+
so their values are masked fully until you pick a strategy or add the custom
|
|
675
|
+
one back.
|
|
676
|
+
field: "“%{field}” on %{resource} in “%{set}”"
|
|
677
|
+
fix: Fix field
|
|
678
|
+
people:
|
|
679
|
+
one: "%{count} person has this set."
|
|
680
|
+
other: "%{count} people have this set."
|
|
681
|
+
strategy_html: Strategy %{strategy}
|
|
682
|
+
title: Fields masked with an unknown strategy
|
|
528
683
|
privacy_card:
|
|
684
|
+
by_name_note: Fields are flagged by column name, so some may not be personal
|
|
685
|
+
data (a company's name, for example).
|
|
529
686
|
description: "%{unmasked}, %{unconfigured}."
|
|
530
687
|
fix: Fix
|
|
531
688
|
intended: This is intended
|
|
689
|
+
intended_note: If a field is fine unmasked, choose This is intended.
|
|
532
690
|
per_set_note: Each line looks at one Permission Set on its own. A person who
|
|
533
691
|
also holds another set that configures the field follows that set.
|
|
534
692
|
show_all: Show all %{count}
|
|
@@ -542,6 +700,7 @@ en:
|
|
|
542
700
|
unmasked:
|
|
543
701
|
one: "%{count} sensitive field shown unmasked"
|
|
544
702
|
other: "%{count} sensitive fields shown unmasked"
|
|
703
|
+
view: View field
|
|
545
704
|
where: "%{resource} · Readable unmasked in “%{set}” · %{people}"
|
|
546
705
|
where_turned_off: "%{resource} · Its setting in “%{set}” is turned off, so
|
|
547
706
|
it passes through unmasked · %{people}"
|
|
@@ -565,6 +724,18 @@ en:
|
|
|
565
724
|
the app uses find_by or permission_scoped. Other queries (where, all, associations)
|
|
566
725
|
return every record.
|
|
567
726
|
title: Record rules not applied everywhere
|
|
727
|
+
secret_rules_card:
|
|
728
|
+
column_html: Compares %{column}
|
|
729
|
+
description: These record rules compare a column that holds a secret. They
|
|
730
|
+
still apply, but who can see which record gives the secret away. Compare
|
|
731
|
+
another column, or remove the rule.
|
|
732
|
+
fix: Fix rule
|
|
733
|
+
open: Open rules
|
|
734
|
+
people:
|
|
735
|
+
one: "%{count} person has this set."
|
|
736
|
+
other: "%{count} people have this set."
|
|
737
|
+
rule: "“%{rule}” on %{resource} in “%{set}”"
|
|
738
|
+
title: Rules on secret columns
|
|
568
739
|
stale_card:
|
|
569
740
|
assigned: Assigned %{date} by %{by}
|
|
570
741
|
description: Not reviewed in over %{days} days. Confirm these people still
|
|
@@ -658,21 +829,20 @@ en:
|
|
|
658
829
|
one: " and %{count} more"
|
|
659
830
|
other: " and %{count} more"
|
|
660
831
|
from: from %{set}
|
|
832
|
+
masked_by: Masked by %{set}
|
|
661
833
|
muted_by: Hidden by %{set}
|
|
662
834
|
none: No set shows it
|
|
663
|
-
|
|
835
|
+
read_only_by: Limited to Read-only by %{set}
|
|
836
|
+
unconfigured: "%{state} · %{behaviour}"
|
|
664
837
|
virtual: Virtual field, readable by default
|
|
665
838
|
effective_tab:
|
|
666
839
|
conditional: "%{sets} only count while their activation conditions are true.
|
|
667
840
|
They're included here."
|
|
668
841
|
fields_visible: "%{visible} of %{total} fields visible"
|
|
669
842
|
grid_label: Effective access
|
|
670
|
-
hidden_by_muting: Hidden by muting
|
|
671
843
|
intro: What %{name} can do right now, with all sets combined. Select any cell
|
|
672
844
|
to see why.
|
|
673
845
|
legend: Legend
|
|
674
|
-
legend_muted: Muted
|
|
675
|
-
legend_none: Not given
|
|
676
846
|
why: Why
|
|
677
847
|
why_empty: Select a cell, field or action to see which Permission Set caused
|
|
678
848
|
it.
|
|
@@ -681,10 +851,16 @@ en:
|
|
|
681
851
|
action_granted: "%{set} permits this action."
|
|
682
852
|
action_muted: "%{set} blocks this action."
|
|
683
853
|
action_none: No Permission Set permits this action.
|
|
854
|
+
action_title: "%{action} · %{resource}"
|
|
855
|
+
field_base_unreadable: 'Hidden: it inherits from %{resource}, which doesn''t
|
|
856
|
+
allow Read.'
|
|
684
857
|
field_capped: Shown as Read-only because Edit isn't allowed on this resource.
|
|
685
|
-
|
|
686
|
-
|
|
858
|
+
field_decided_by: 'Decided by %{resource}, which this inherits from: the strictest
|
|
859
|
+
setting along the inheritance wins.'
|
|
860
|
+
field_hidden_on: Hidden on %{resource}, which this inherits from.
|
|
687
861
|
field_none: No Permission Set shows this field.
|
|
862
|
+
field_own_unreadable: Hidden because Read isn't allowed on this resource.
|
|
863
|
+
field_title: "%{resource} › %{field}"
|
|
688
864
|
field_unconfigured: 'No set configures this column: %{behaviour}.'
|
|
689
865
|
field_variant: Follows the setting of %{base}.
|
|
690
866
|
field_virtual: Virtual field from the model, readable unless a set configures
|
|
@@ -692,6 +868,7 @@ en:
|
|
|
692
868
|
flag_granted: "%{set} gives %{flag}."
|
|
693
869
|
flag_muted: "%{set} mutes %{flag}."
|
|
694
870
|
flag_none: No Permission Set gives %{flag}.
|
|
871
|
+
flag_title: "%{flag} %{resource}"
|
|
695
872
|
no_rules: No record rules, so every record is shown.
|
|
696
873
|
note_add_up: 'Permission Sets add up: one grant is enough.'
|
|
697
874
|
note_fields: If several sets show a field, the most open setting wins.
|
|
@@ -754,7 +931,10 @@ en:
|
|
|
754
931
|
tenant and clears their name from the audit log.
|
|
755
932
|
title: Data subject erasure…
|
|
756
933
|
refresh:
|
|
757
|
-
desc: '
|
|
934
|
+
desc: 'Needed after a change from a console, runner or job when the cache
|
|
935
|
+
store is per process (an in-memory store): that process cleared only
|
|
936
|
+
its own entries, so this web process keeps serving the old permissions
|
|
937
|
+
until they expire.'
|
|
758
938
|
title: Refresh cached permissions
|
|
759
939
|
remove_all:
|
|
760
940
|
desc: 'Offboarding: removes every assignment.'
|
|
@@ -827,10 +1007,12 @@ en:
|
|
|
827
1007
|
field: Pick the field to check.
|
|
828
1008
|
list: Add at least one value to the list.
|
|
829
1009
|
name_blank: Give the rule a name.
|
|
1010
|
+
operator: Pick a condition from the list.
|
|
830
1011
|
range: Enter both ends of the range.
|
|
831
1012
|
value: Enter a value, or pick “the current user”.
|
|
832
1013
|
field: Field to check
|
|
833
1014
|
follow: Follow a relationship
|
|
1015
|
+
ignored_field: no field row (ignored_fields)
|
|
834
1016
|
ignored_warning: View All is on for this resource, so record rules are ignored
|
|
835
1017
|
until it's turned off.
|
|
836
1018
|
include_nulls: Also show records where %{field} is empty
|
|
@@ -847,18 +1029,36 @@ en:
|
|
|
847
1029
|
desc: Records without the related record are kept.
|
|
848
1030
|
title: Also records without it
|
|
849
1031
|
message: Blocked message
|
|
850
|
-
|
|
1032
|
+
message_help: Shown when someone opens a record this rule hides.
|
|
1033
|
+
model_error: "%{field} %{message}"
|
|
851
1034
|
model_missing: This model or relationship no longer exists in the app.
|
|
852
1035
|
name: Rule name
|
|
853
1036
|
name_placeholder: e.g. Own customers
|
|
1037
|
+
notes:
|
|
1038
|
+
secret_column:
|
|
1039
|
+
body_html: "%{column} holds a secret, so a new rule on it is refused.
|
|
1040
|
+
This rule still applies, but who can see which record gives the secret
|
|
1041
|
+
away: compare another column, or remove the rule."
|
|
1042
|
+
title: This rule compares a column that holds a secret
|
|
854
1043
|
operator: Condition
|
|
855
1044
|
optional: optional
|
|
1045
|
+
path_html: 'Relationship path: %{path}'
|
|
856
1046
|
pick_field: Pick a field…
|
|
1047
|
+
pick_relationship: Pick a relationship…
|
|
857
1048
|
preview: Preview
|
|
858
1049
|
preview_empty: Pick a field to see the rule as a sentence.
|
|
1050
|
+
preview_refused: Will not save
|
|
1051
|
+
problem_fixes:
|
|
1052
|
+
field: Pick the field again to correct it.
|
|
1053
|
+
join: Choose how to combine again, under Advanced, to correct it.
|
|
1054
|
+
operator: Pick the condition again to correct it.
|
|
1055
|
+
path: Choose the relationship again to correct it.
|
|
1056
|
+
value: Enter a value this field can hold to correct it.
|
|
1057
|
+
problem_title: This rule matches nothing
|
|
859
1058
|
relationship: Relationship
|
|
860
1059
|
remove_step: Remove this relationship step
|
|
861
1060
|
save: Save rule
|
|
1061
|
+
stored_field: "%{name} (as stored)"
|
|
862
1062
|
this_field: this field
|
|
863
1063
|
update_form: Update
|
|
864
1064
|
confirm_destroy:
|
|
@@ -869,6 +1069,9 @@ en:
|
|
|
869
1069
|
title: Edit rule for %{resource}
|
|
870
1070
|
new:
|
|
871
1071
|
title: New rule for %{resource}
|
|
1072
|
+
preview:
|
|
1073
|
+
back: Back to the rules
|
|
1074
|
+
title: Preview of a rule on %{resource}
|
|
872
1075
|
value_input:
|
|
873
1076
|
from: From
|
|
874
1077
|
no_value: No value needed for this condition.
|
|
@@ -969,14 +1172,17 @@ en:
|
|
|
969
1172
|
copy_name: "%{name} (copy)"
|
|
970
1173
|
header:
|
|
971
1174
|
description: Description
|
|
972
|
-
description_placeholder: Add a description
|
|
1175
|
+
description_placeholder: 'Add a description: when to use this set'
|
|
973
1176
|
group: Group
|
|
974
1177
|
name: Name
|
|
975
1178
|
index:
|
|
976
1179
|
columns:
|
|
1180
|
+
access: Access
|
|
977
1181
|
actions: Actions
|
|
978
1182
|
group: Group
|
|
1183
|
+
narrowed: Narrowed by
|
|
979
1184
|
people: People
|
|
1185
|
+
resources: Resources
|
|
980
1186
|
set: Permission Set
|
|
981
1187
|
status: Status
|
|
982
1188
|
duplicate_aria: Duplicate %{name}
|
|
@@ -1021,6 +1227,29 @@ en:
|
|
|
1021
1227
|
start_from_muting: Start from
|
|
1022
1228
|
title: New Permission Set
|
|
1023
1229
|
type: What should this set do?
|
|
1230
|
+
overview:
|
|
1231
|
+
no_family: Other models
|
|
1232
|
+
subtitle: What this set allows on each Resource, by model family.
|
|
1233
|
+
title:
|
|
1234
|
+
groups: Model groups in %{name}
|
|
1235
|
+
resources: Resources in %{name}
|
|
1236
|
+
views:
|
|
1237
|
+
groups: Model groups
|
|
1238
|
+
resources: Resources
|
|
1239
|
+
views_label: Show
|
|
1240
|
+
overview_body:
|
|
1241
|
+
empty: This set has no Resources yet.
|
|
1242
|
+
groups_hint: The model groups in this set, by namespace. Pick one to see its
|
|
1243
|
+
Resources.
|
|
1244
|
+
legend: A dot (·) is a flag not granted.
|
|
1245
|
+
legend_muting: A lit letter is access this set takes away.
|
|
1246
|
+
none_match: No Resource of this set matches this view.
|
|
1247
|
+
only_family: Showing %{family} only.
|
|
1248
|
+
only_narrowed: Showing the Resources with row rules or masked fields.
|
|
1249
|
+
only_view_all: 'Showing the Resources with View All: their row rules are skipped.'
|
|
1250
|
+
show_all:
|
|
1251
|
+
one: Show the %{count} Resource
|
|
1252
|
+
other: Show all %{count} Resources
|
|
1024
1253
|
records_summary:
|
|
1025
1254
|
ignored:
|
|
1026
1255
|
one: "%{count} rule ignored"
|
|
@@ -1052,10 +1281,55 @@ en:
|
|
|
1052
1281
|
body_nobody: Nobody has this set yet, so saving affects no one until you assign
|
|
1053
1282
|
it.
|
|
1054
1283
|
crumb: Review
|
|
1284
|
+
not_applied: 'Not applied:'
|
|
1055
1285
|
save: Save changes
|
|
1056
1286
|
title:
|
|
1057
1287
|
one: Review %{count} change
|
|
1058
1288
|
other: Review %{count} changes
|
|
1289
|
+
set_summary_cells:
|
|
1290
|
+
every_row: Sees every row
|
|
1291
|
+
force_masked:
|
|
1292
|
+
one: "•• %{count} force-masked field"
|
|
1293
|
+
other: "•• %{count} force-masked fields"
|
|
1294
|
+
hidden:
|
|
1295
|
+
one: "⊘ %{count} hidden field"
|
|
1296
|
+
other: "⊘ %{count} hidden fields"
|
|
1297
|
+
ignored:
|
|
1298
|
+
one: "⚠ %{count} rule ignored under View All"
|
|
1299
|
+
other: "⚠ %{count} rules ignored under View All"
|
|
1300
|
+
inactive:
|
|
1301
|
+
one: "+ %{count} turned off"
|
|
1302
|
+
other: "+ %{count} turned off"
|
|
1303
|
+
masked:
|
|
1304
|
+
one: "•• %{count} masked field"
|
|
1305
|
+
other: "•• %{count} masked fields"
|
|
1306
|
+
modify_all:
|
|
1307
|
+
one: Modify All on %{count} Resource
|
|
1308
|
+
other: Modify All on %{count} Resources
|
|
1309
|
+
of_models:
|
|
1310
|
+
one: of %{count} model
|
|
1311
|
+
other: of %{count} models
|
|
1312
|
+
rules:
|
|
1313
|
+
one: "⛉ %{count} row rule"
|
|
1314
|
+
other: "⛉ %{count} row rules"
|
|
1315
|
+
view_all:
|
|
1316
|
+
one: View All on %{count} Resource
|
|
1317
|
+
other: View All on %{count} Resources
|
|
1318
|
+
view_modify_all_every: View All and Modify All on every Resource
|
|
1319
|
+
set_summary_links:
|
|
1320
|
+
hide_groups: Hide model groups
|
|
1321
|
+
hide_resources: Hide Resources
|
|
1322
|
+
includes: Includes %{resources}
|
|
1323
|
+
more:
|
|
1324
|
+
one: "%{count} more"
|
|
1325
|
+
other: "%{count} more"
|
|
1326
|
+
no_resources: No Resources yet
|
|
1327
|
+
show_groups:
|
|
1328
|
+
one: Show %{count} model group
|
|
1329
|
+
other: Show %{count} model groups
|
|
1330
|
+
show_resources:
|
|
1331
|
+
one: Show %{count} Resource
|
|
1332
|
+
other: Show %{count} Resources
|
|
1059
1333
|
show:
|
|
1060
1334
|
and_more:
|
|
1061
1335
|
one: "%{count} more"
|
|
@@ -1072,6 +1346,41 @@ en:
|
|
|
1072
1346
|
conditions: Conditions
|
|
1073
1347
|
resources: Resources
|
|
1074
1348
|
tabs_label: Permission Set sections
|
|
1349
|
+
summary:
|
|
1350
|
+
flag_count: "%{flag}: %{count} of %{total}"
|
|
1351
|
+
initials:
|
|
1352
|
+
create_access: C
|
|
1353
|
+
delete_access: D
|
|
1354
|
+
edit_access: E
|
|
1355
|
+
modify_all: M
|
|
1356
|
+
read_access: R
|
|
1357
|
+
view_all: V
|
|
1358
|
+
mark_titles:
|
|
1359
|
+
hidden:
|
|
1360
|
+
one: "%{count} hidden field"
|
|
1361
|
+
other: "%{count} hidden fields"
|
|
1362
|
+
ignored:
|
|
1363
|
+
one: "%{count} row rule View All bypasses"
|
|
1364
|
+
other: "%{count} row rules View All bypasses"
|
|
1365
|
+
masked:
|
|
1366
|
+
one: "%{count} masked field"
|
|
1367
|
+
other: "%{count} masked fields"
|
|
1368
|
+
rules:
|
|
1369
|
+
one: "%{count} row rule"
|
|
1370
|
+
other: "%{count} row rules"
|
|
1371
|
+
view_all:
|
|
1372
|
+
one: View All on %{count} Resource
|
|
1373
|
+
other: View All on %{count} Resources
|
|
1374
|
+
marks:
|
|
1375
|
+
hidden: "⊘ %{count}"
|
|
1376
|
+
ignored: "⛉ %{count} ignored"
|
|
1377
|
+
masked: "•• %{count}"
|
|
1378
|
+
rules: "⛉ %{count}"
|
|
1379
|
+
view_all: V %{count}
|
|
1380
|
+
no_flags: Nothing
|
|
1381
|
+
on_resources:
|
|
1382
|
+
one: on %{count} Resource
|
|
1383
|
+
other: on %{count} Resources
|
|
1075
1384
|
resource_actions:
|
|
1076
1385
|
add_select:
|
|
1077
1386
|
block: Add and block
|
|
@@ -1108,9 +1417,14 @@ en:
|
|
|
1108
1417
|
suggestions, or type a key your code checks.
|
|
1109
1418
|
permitted: Permitted
|
|
1110
1419
|
managed_note:
|
|
1111
|
-
|
|
1112
|
-
whose Permission Sets permit it can run it. Everyone else is
|
|
1113
|
-
|
|
1420
|
+
body_allowed: As soon as one active Permission Set has a row for an action,
|
|
1421
|
+
only people whose Permission Sets permit it can run it. Everyone else is
|
|
1422
|
+
refused.
|
|
1423
|
+
body_blocked: Until an active Permission Set has a row for an action, nobody
|
|
1424
|
+
can run it. Once one has, the people whose Permission Sets permit it can
|
|
1425
|
+
run it; everyone else is still refused.
|
|
1426
|
+
title_allowed: Adding an action makes it managed for everyone
|
|
1427
|
+
title_blocked: Adding an action opens it to the people it is permitted to
|
|
1114
1428
|
unmanaged_allowed: An action no Permission Set manages can be run by everyone.
|
|
1115
1429
|
unmanaged_blocked: An action no Permission Set manages is blocked for everyone.
|
|
1116
1430
|
new:
|
|
@@ -1133,9 +1447,17 @@ en:
|
|
|
1133
1447
|
capped: It shows as Read-only because Edit isn't allowed on this resource.
|
|
1134
1448
|
full_picture: See everything %{name} can access →
|
|
1135
1449
|
granted: "%{name} sees it through %{sets}."
|
|
1136
|
-
|
|
1450
|
+
hidden_by:
|
|
1451
|
+
one: "%{name} doesn't see it: %{sets} hides it."
|
|
1452
|
+
other: "%{name} doesn't see it: %{sets} hide it."
|
|
1453
|
+
masked_by:
|
|
1454
|
+
one: "%{name} sees it masked: %{sets} masks it."
|
|
1455
|
+
other: "%{name} sees it masked: %{sets} mask it."
|
|
1137
1456
|
no_access: "%{name} can't read %{resources}."
|
|
1138
1457
|
none: No set shows this field to %{name}.
|
|
1458
|
+
read_only_by:
|
|
1459
|
+
one: "%{name} can't edit it: %{sets} takes editing away."
|
|
1460
|
+
other: "%{name} can't edit it: %{sets} take editing away."
|
|
1139
1461
|
unconfigured: No set configures this column, so the unconfigured-field setting
|
|
1140
1462
|
decides for %{name}.
|
|
1141
1463
|
virtual_default: "%{name} gets this virtual field by default, readable and
|
|
@@ -1156,6 +1478,7 @@ en:
|
|
|
1156
1478
|
flags_muting_note: In muting sets these flags mean “remove”.
|
|
1157
1479
|
impact: Saving applies to %{people} immediately.
|
|
1158
1480
|
label: Label
|
|
1481
|
+
locked_impact: Locked, so nothing here can be saved.
|
|
1159
1482
|
mask_strategy: Mask strategy
|
|
1160
1483
|
muting_note: This is a Muting Permission Set. Choices here take access away.
|
|
1161
1484
|
no_rules: No rules in this set filter on this field.
|
|
@@ -1164,14 +1487,20 @@ en:
|
|
|
1164
1487
|
not_configured_implicit: 'No setting for this field in “%{set}”. It follows
|
|
1165
1488
|
“Virtual fields without a setting”: with the current configuration it is
|
|
1166
1489
|
readable and editable by default.'
|
|
1490
|
+
not_configured_muting: No setting for this column in “%{set}”, so this Muting
|
|
1491
|
+
Permission Set takes nothing away from it.
|
|
1167
1492
|
pick_person: Pick a person…
|
|
1168
1493
|
save: Save
|
|
1169
|
-
sensitive: 'Matches privacy pattern “%{pattern}
|
|
1494
|
+
sensitive: 'Matches privacy pattern “%{pattern}”, so it may be personal data.
|
|
1495
|
+
Recommended: Masked (%{strategy}).'
|
|
1170
1496
|
turned_off: 'The setting for this field in “%{set}” is turned off, so it does
|
|
1171
1497
|
not apply. With the current configuration the field is: %{behaviour}.'
|
|
1172
1498
|
turned_off_implicit: 'The setting for this field in “%{set}” is turned off,
|
|
1173
1499
|
so it does not apply. The field follows “Virtual fields without a setting”:
|
|
1174
1500
|
with the current configuration it is readable and editable by default.'
|
|
1501
|
+
turned_off_muting: The setting for this field in “%{set}” is turned off, so
|
|
1502
|
+
this Muting Permission Set takes nothing away from it.
|
|
1503
|
+
unknown_strategy: "(unknown — masked fully until you pick one)"
|
|
1175
1504
|
used_by_rules: Used by rules
|
|
1176
1505
|
variants: 'Also applies to:'
|
|
1177
1506
|
variants_muting: 'Muting this also mutes:'
|
|
@@ -1219,20 +1548,12 @@ en:
|
|
|
1219
1548
|
filter_label: Filter fields
|
|
1220
1549
|
filters:
|
|
1221
1550
|
all: All
|
|
1222
|
-
edit: Editable
|
|
1223
|
-
hidden: Hidden
|
|
1224
|
-
hide: Hidden
|
|
1225
|
-
leave: Unchanged
|
|
1226
|
-
mask: Force mask
|
|
1227
|
-
masked: Masked
|
|
1228
|
-
read: Read-only
|
|
1229
|
-
sensitive: Sensitive
|
|
1230
|
-
unconfigured: Not configured
|
|
1231
1551
|
implicit_grant: Editable by default
|
|
1232
1552
|
level: Access level
|
|
1233
1553
|
level_aria: Access level for %{field}
|
|
1554
|
+
mutes_nothing: Mutes nothing
|
|
1234
1555
|
no_match: No fields match.
|
|
1235
|
-
not_configured:
|
|
1556
|
+
not_configured: "%{state} · %{behaviour}"
|
|
1236
1557
|
read_off: Turn on Read for %{resource} to choose which fields people see.
|
|
1237
1558
|
search: Search fields
|
|
1238
1559
|
select_all: Select all shown fields
|
|
@@ -1253,14 +1574,15 @@ en:
|
|
|
1253
1574
|
models: Models
|
|
1254
1575
|
no_models: No models match.
|
|
1255
1576
|
note: Fields will be created from the model's columns and virtual fields.
|
|
1256
|
-
note_gdpr: Fields will be created from the model's columns and virtual fields.
|
|
1257
|
-
Privacy defaults are on, so sensitive columns start Masked
|
|
1577
|
+
note_gdpr: 'Fields will be created from the model''s columns and virtual fields.
|
|
1578
|
+
Privacy defaults are on, so sensitive columns start Masked, except with
|
|
1579
|
+
Full access: then they are only flagged Sensitive, for you to mask.'
|
|
1258
1580
|
presets:
|
|
1259
1581
|
block_changes:
|
|
1260
1582
|
desc: Mutes Create, Edit, Delete and every action.
|
|
1261
1583
|
title: Block all changes
|
|
1262
1584
|
full:
|
|
1263
|
-
desc: Read, create, edit and delete. All fields editable.
|
|
1585
|
+
desc: Read, create, edit and delete. All fields editable, none masked.
|
|
1264
1586
|
title: Full access
|
|
1265
1587
|
hide_sensitive:
|
|
1266
1588
|
desc: Hides every column that looks like personal data.
|
|
@@ -1286,7 +1608,7 @@ en:
|
|
|
1286
1608
|
all_queries: applies to all queries
|
|
1287
1609
|
blocked_message: 'Blocked message: “%{message}”'
|
|
1288
1610
|
empty: 'No rules yet, so records aren''t limited: people with this set see
|
|
1289
|
-
every %{
|
|
1611
|
+
every %{resource} record they can read.'
|
|
1290
1612
|
empty_muting: Muting Permission Sets don't add record rules.
|
|
1291
1613
|
empty_view_all: No rules. View All is on, so every record is included anyway.
|
|
1292
1614
|
filter_rule: Filter rule · %{applies}
|
|
@@ -1319,7 +1641,7 @@ en:
|
|
|
1319
1641
|
modify_all_needs: Needs View All and Edit.
|
|
1320
1642
|
muting_hint: Muted actions are removed from people with this set, whatever
|
|
1321
1643
|
their other sets allow.
|
|
1322
|
-
muting_note: Settings here take access away from
|
|
1644
|
+
muting_note: Settings here take access away from everyone who has “%{set}”.
|
|
1323
1645
|
needs_read_hint: Edit and Delete need Read.
|
|
1324
1646
|
record_scope: Record scope
|
|
1325
1647
|
remove: Remove %{resource} from this set…
|
|
@@ -1338,7 +1660,8 @@ en:
|
|
|
1338
1660
|
hide: Add all new as Hidden
|
|
1339
1661
|
read: Add all new as Read-only
|
|
1340
1662
|
gdpr_off: Privacy defaults are off.
|
|
1341
|
-
gdpr_on: 'Privacy defaults are on: sensitive columns are added as Masked
|
|
1663
|
+
gdpr_on: 'Privacy defaults are on: sensitive columns are added as Masked,
|
|
1664
|
+
except with full access (then they are only flagged Sensitive).'
|
|
1342
1665
|
ignored_count:
|
|
1343
1666
|
one: "%{count} ignored"
|
|
1344
1667
|
other: "%{count} ignored"
|
|
@@ -1351,6 +1674,9 @@ en:
|
|
|
1351
1674
|
new_count:
|
|
1352
1675
|
one: "%{count} new column not configured"
|
|
1353
1676
|
other: "%{count} new columns not configured"
|
|
1677
|
+
new_count_muting:
|
|
1678
|
+
one: "%{count} column with no setting, so it mutes nothing"
|
|
1679
|
+
other: "%{count} columns with no setting, so they mute nothing"
|
|
1354
1680
|
new_title: New columns, not configured
|
|
1355
1681
|
none: None
|
|
1356
1682
|
remove_missing: Remove missing fields
|
|
@@ -1433,6 +1759,9 @@ en:
|
|
|
1433
1759
|
api_serializer_overrides:
|
|
1434
1760
|
desc: Overrides for how records are written in API responses.
|
|
1435
1761
|
name: Custom serializers
|
|
1762
|
+
api_stats_authorization:
|
|
1763
|
+
desc: Decides who may read usage statistics through the API.
|
|
1764
|
+
name: API stats check
|
|
1436
1765
|
api_stats_require_admin:
|
|
1437
1766
|
desc: Only admins can read usage statistics through the API.
|
|
1438
1767
|
name: Stats only for admins
|
|
@@ -1549,7 +1878,8 @@ en:
|
|
|
1549
1878
|
show them.
|
|
1550
1879
|
name: Filter sensitive values from logs
|
|
1551
1880
|
gdpr_defaults:
|
|
1552
|
-
desc: Columns that look personal get masked by default when they're added
|
|
1881
|
+
desc: Columns that look personal get masked by default when they're added,
|
|
1882
|
+
except when they're added with full access.
|
|
1553
1883
|
name: Privacy defaults
|
|
1554
1884
|
gdpr_field_patterns:
|
|
1555
1885
|
desc: Column names matching a pattern are flagged sensitive and get this
|
|
@@ -1581,9 +1911,12 @@ en:
|
|
|
1581
1911
|
them from the model.
|
|
1582
1912
|
name: Mask virtual fields on models
|
|
1583
1913
|
masked_attributes_nil_user_strategy:
|
|
1584
|
-
desc: '
|
|
1585
|
-
|
|
1586
|
-
|
|
1914
|
+
desc: 'What masked models return when there is no current user. bypass:
|
|
1915
|
+
the stored values everywhere (each read in a web request is logged and
|
|
1916
|
+
published as an audit event). hide_in_requests: hidden values in web requests
|
|
1917
|
+
(a public page, a controller that forgot sign-in), the stored values in
|
|
1918
|
+
jobs, rake tasks and the console. hide: hidden values everywhere. The
|
|
1919
|
+
user model stays readable: sign-in reads it before anyone is signed in.'
|
|
1587
1920
|
name: Masked attributes with nobody signed in
|
|
1588
1921
|
masked_write_protection:
|
|
1589
1922
|
desc: Stops a masked value like “•••• 4821” from being saved back over the
|
|
@@ -1593,6 +1926,11 @@ en:
|
|
|
1593
1926
|
desc: Whether rules are skipped, deny everything, or raise an error when
|
|
1594
1927
|
there's no current user.
|
|
1595
1928
|
name: Record rules with nobody signed in
|
|
1929
|
+
no_read_access_strategy:
|
|
1930
|
+
desc: 'What record lookups and queries return for a signed-in user whose
|
|
1931
|
+
Permission Sets do not grant Read on the resource: the rows the record
|
|
1932
|
+
rules allow (with no rule, every row), or none.'
|
|
1933
|
+
name: Records without read access
|
|
1596
1934
|
omit_hidden_in_attributes_hash:
|
|
1597
1935
|
desc: Hidden fields are removed from attribute hashes instead of being set
|
|
1598
1936
|
to empty.
|
|
@@ -1628,6 +1966,10 @@ en:
|
|
|
1628
1966
|
desc: Name of the variable that tells the database who the current user
|
|
1629
1967
|
is.
|
|
1630
1968
|
name: Database session variable
|
|
1969
|
+
rule_secret_column_patterns:
|
|
1970
|
+
desc: Record rules may not compare columns matching these patterns (password
|
|
1971
|
+
digests, tokens, encrypted_* columns). An empty list allows them.
|
|
1972
|
+
name: Secret column patterns
|
|
1631
1973
|
snapshot_transactions:
|
|
1632
1974
|
desc: 'Whether a database transaction keeps seeing the data as it was when
|
|
1633
1975
|
it began. Permissions computed inside such a transaction are not cached.
|
|
@@ -1701,9 +2043,12 @@ en:
|
|
|
1701
2043
|
gdpr_defaults: New sensitive columns start masked.
|
|
1702
2044
|
http_basic_auth_enabled: Access to these screens is protected.
|
|
1703
2045
|
masked_attributes_nil_user_strategy: Masked models hide their values when
|
|
1704
|
-
nobody is signed in (the user model stays readable
|
|
2046
|
+
nobody is signed in, in web requests at least (the user model stays readable
|
|
2047
|
+
for sign-in).
|
|
1705
2048
|
masked_write_protection: Masked values are never written back.
|
|
1706
2049
|
nil_user_strategy: Code without a signed-in user sees no records.
|
|
2050
|
+
no_read_access_strategy: Signed-in users without Read on a resource see none
|
|
2051
|
+
of its records.
|
|
1707
2052
|
preset: The :strict preset closes the settings that fail open by default.
|
|
1708
2053
|
unconfigured_action_strategy: Controller actions nobody configured are blocked.
|
|
1709
2054
|
risks:
|
|
@@ -1715,18 +2060,22 @@ en:
|
|
|
1715
2060
|
the audit table is missing). With audit_events = true and no table, every
|
|
1716
2061
|
change fails (under the default :raise strategy).
|
|
1717
2062
|
audit_trail_enabled: No one is recorded as creating or editing records.
|
|
2063
|
+
auto_query_scoping: 'Record rules are in use, but they only apply to find_by
|
|
2064
|
+
and permission_scoped lookups: other queries return every record.'
|
|
1718
2065
|
conditional_sets_strict_mode: Conditional sets are treated as active when
|
|
1719
2066
|
request info is missing (fail-open).
|
|
1720
2067
|
http_basic_auth_enabled: These screens are either locked (password prompt
|
|
1721
2068
|
on, but no credentials) or unprotected (no password and no custom admin
|
|
1722
2069
|
controller).
|
|
1723
2070
|
masked_write_protection: Masked values can be saved back over real data.
|
|
2071
|
+
unconfigured_action_strategy: Controller actions nobody configured can be
|
|
2072
|
+
run by every signed-in user (an explicit opt-out from the :block default).
|
|
1724
2073
|
unconfigured_field_strategy: Columns nobody configured are shown unmasked
|
|
1725
2074
|
to anyone who can read the resource.
|
|
1726
2075
|
row:
|
|
1727
2076
|
changed: Changed
|
|
1728
|
-
|
|
1729
|
-
|
|
2077
|
+
default_html: 'Default: %{value}'
|
|
2078
|
+
docs_html: 'Configuration docs: %{key} ↗'
|
|
1730
2079
|
how_to_change: How to change
|
|
1731
2080
|
risk: Risk
|
|
1732
2081
|
secure: Secure
|
|
@@ -1753,6 +2102,9 @@ en:
|
|
|
1753
2102
|
record_rules: Record rules & query scoping
|
|
1754
2103
|
show:
|
|
1755
2104
|
api_disabled_html: API is disabled (%{key}).
|
|
2105
|
+
attention:
|
|
2106
|
+
one: Home lists %{count} item that needs attention.
|
|
2107
|
+
other: Home lists %{count} items that need attention.
|
|
1756
2108
|
changed_count:
|
|
1757
2109
|
one: "%{count} changed"
|
|
1758
2110
|
other: "%{count} changed"
|
|
@@ -1763,12 +2115,16 @@ en:
|
|
|
1763
2115
|
intro_html: Settings are defined in %{file}. Changes require a deploy/restart.
|
|
1764
2116
|
This page shows the current values and how to change them.
|
|
1765
2117
|
no_match: No settings match.
|
|
2118
|
+
open_home: Open Home
|
|
1766
2119
|
read_only: Read-only
|
|
1767
2120
|
search: Search settings
|
|
1768
2121
|
section_meta: "%{settings} · %{changed}"
|
|
1769
2122
|
secure_count:
|
|
1770
2123
|
one: "%{count} security and privacy setting looks good."
|
|
1771
2124
|
other: "%{count} security and privacy settings look good."
|
|
2125
|
+
secure_count_set:
|
|
2126
|
+
one: "%{count} security and privacy setting is set as recommended."
|
|
2127
|
+
other: "%{count} security and privacy settings are set as recommended."
|
|
1772
2128
|
settings_count:
|
|
1773
2129
|
one: "%{count} setting"
|
|
1774
2130
|
other: "%{count} settings"
|
|
@@ -1802,18 +2158,17 @@ en:
|
|
|
1802
2158
|
set: Set
|
|
1803
2159
|
shared:
|
|
1804
2160
|
across_sets:
|
|
1805
|
-
muted_hidden: 'Muted: hidden'
|
|
1806
2161
|
none: No Permission Set includes this resource.
|
|
1807
2162
|
active: Active
|
|
1808
2163
|
audit_footer:
|
|
1809
2164
|
created: Created by %{created_by} · %{created_at}
|
|
1810
2165
|
disabled: Created-by and edited-by aren't being recorded.
|
|
1811
2166
|
edited: Last edited by %{updated_by} · %{updated_at}
|
|
2167
|
+
edited_at: Last edited %{updated_at}
|
|
1812
2168
|
history: History
|
|
1813
2169
|
crud_cell:
|
|
1814
2170
|
allowed: Allowed
|
|
1815
2171
|
muted: Muted
|
|
1816
|
-
needs_read: Turn on Read first
|
|
1817
2172
|
needs_read_short: Needs Read
|
|
1818
2173
|
'no': 'No'
|
|
1819
2174
|
unchanged: Unchanged
|
|
@@ -1875,8 +2230,6 @@ en:
|
|
|
1875
2230
|
copied: Copied
|
|
1876
2231
|
copy: Copy
|
|
1877
2232
|
summary: Technical details
|
|
1878
|
-
time_ago: "%{time} ago"
|
|
1879
|
-
time_nil: "—"
|
|
1880
2233
|
toasts:
|
|
1881
2234
|
dismiss: Dismiss
|
|
1882
2235
|
undo: Undo
|
|
@@ -1887,6 +2240,11 @@ en:
|
|
|
1887
2240
|
user_select_prompt: Select a person...
|
|
1888
2241
|
user_select_truncated: Showing only the first %{count} users. Configure user_list_resolver
|
|
1889
2242
|
to narrow this list.
|
|
2243
|
+
support:
|
|
2244
|
+
array:
|
|
2245
|
+
last_word_connector: ", and "
|
|
2246
|
+
two_words_connector: " and "
|
|
2247
|
+
words_connector: ", "
|
|
1890
2248
|
ui:
|
|
1891
2249
|
actions: Actions
|
|
1892
2250
|
apply: Apply
|
|
@@ -1897,7 +2255,14 @@ en:
|
|
|
1897
2255
|
reviewed_by: Reviewed by %{who} on %{date}
|
|
1898
2256
|
reviewed_on: Reviewed on %{date}
|
|
1899
2257
|
audit:
|
|
1900
|
-
|
|
2258
|
+
csv:
|
|
2259
|
+
created_at: Created at
|
|
2260
|
+
created_by: Created by
|
|
2261
|
+
edited_at: Last edited at
|
|
2262
|
+
edited_by: Last edited by
|
|
2263
|
+
record: Record
|
|
2264
|
+
type: Type
|
|
2265
|
+
where: Where
|
|
1901
2266
|
types:
|
|
1902
2267
|
action: Action
|
|
1903
2268
|
assignment: Assignment
|
|
@@ -1915,18 +2280,19 @@ en:
|
|
|
1915
2280
|
fail_open: Fail-open
|
|
1916
2281
|
fail_open_long: 'Fail-open: active when request info is missing'
|
|
1917
2282
|
fail_open_title: conditional_sets_strict_mode is off
|
|
1918
|
-
locked: Locked
|
|
1919
2283
|
muting: Muting
|
|
1920
|
-
not_configured: Not configured
|
|
1921
2284
|
'off': 'Off'
|
|
1922
2285
|
sensitive: Sensitive
|
|
2286
|
+
unknown_mask_strategy: Unknown mask strategy — masked fully until fixed
|
|
1923
2287
|
virtual: Virtual
|
|
1924
2288
|
breadcrumb: Breadcrumb
|
|
1925
2289
|
cancel: Cancel
|
|
1926
2290
|
changes:
|
|
1927
2291
|
action_managed_already: "(already managed; sets that permit it: %{sets})"
|
|
1928
|
-
|
|
1929
|
-
Permission Sets permit it can run it)"
|
|
2292
|
+
action_managed_first_allowed: "(this makes it managed: from now on only people
|
|
2293
|
+
whose Permission Sets permit it can run it)"
|
|
2294
|
+
action_managed_first_blocked: "(the first row for it: from now on the people
|
|
2295
|
+
whose Permission Sets permit it can run it; until now nobody could)"
|
|
1930
2296
|
action_managed_later: "(takes effect once this set and this resource are on)"
|
|
1931
2297
|
action_managed_nobody: "(already managed; no Permission Set permits it yet)"
|
|
1932
2298
|
action_muted: "%{resource}: %{action} blocked"
|
|
@@ -1952,6 +2318,9 @@ en:
|
|
|
1952
2318
|
flag_off_muting: "%{resource}: %{flag} no longer muted"
|
|
1953
2319
|
flag_on: "%{resource}: %{flag} allowed"
|
|
1954
2320
|
flag_on_muting: "%{resource}: %{flag} muted"
|
|
2321
|
+
not_applied_read: "%{resource}: %{flag} not turned on, because Read is off"
|
|
2322
|
+
not_applied_view_all_and_edit: "%{resource}: %{flag} not turned on, because
|
|
2323
|
+
it needs View All and Edit"
|
|
1955
2324
|
resource_text: "%{resource}: %{attribute} changed"
|
|
1956
2325
|
set_group: Moved to the group “%{group}”
|
|
1957
2326
|
set_no_group: Removed from its group
|
|
@@ -1961,6 +2330,9 @@ en:
|
|
|
1961
2330
|
close: Close
|
|
1962
2331
|
conditions:
|
|
1963
2332
|
always: Always active. No activation conditions.
|
|
2333
|
+
effect:
|
|
2334
|
+
granting: It never passes, so it grants nothing.
|
|
2335
|
+
muting: 'A Muting Permission Set: it applies to every request.'
|
|
1964
2336
|
flag_generic: when %{flag} is set
|
|
1965
2337
|
flags:
|
|
1966
2338
|
marketing_consent: when marketing consent is given
|
|
@@ -1968,9 +2340,25 @@ en:
|
|
|
1968
2340
|
sso_login: after company SSO sign-in
|
|
1969
2341
|
from_ips: from %{ips}
|
|
1970
2342
|
hours: between %{from} and %{to}
|
|
2343
|
+
hours_broken: between %{from} and %{to} (a window nobody can judge — fix it
|
|
2344
|
+
on the Conditions tab)
|
|
2345
|
+
hours_broken_here: between %{from} and %{to} (a window nobody can judge)
|
|
1971
2346
|
hours_overnight: between %{from} and %{to} (overnight)
|
|
2347
|
+
ips_broken: from %{ips} (a list nobody can judge — fix it on the Conditions
|
|
2348
|
+
tab)
|
|
2349
|
+
ips_broken_here: from %{ips} (a list nobody can judge)
|
|
2350
|
+
no_hour: no hour
|
|
1972
2351
|
only_works: Only works %{parts}.
|
|
1973
2352
|
or: " or "
|
|
2353
|
+
problems:
|
|
2354
|
+
flag_unusable_html: The session flag %{flag} holds a control character,
|
|
2355
|
+
so no request can carry it.
|
|
2356
|
+
hours_equal: The start and end hour are the same, so the window is empty.
|
|
2357
|
+
hours_incomplete: Only one of the two hours is set.
|
|
2358
|
+
hours_range: An hour is outside 00:00–23:00.
|
|
2359
|
+
ip_empty: The IP list holds separators but no entry.
|
|
2360
|
+
ip_entry_html: "%{entry} is not an IP address or CIDR range."
|
|
2361
|
+
problems_title: These conditions cannot be judged
|
|
1974
2362
|
dates:
|
|
1975
2363
|
days_ago:
|
|
1976
2364
|
one: "%{count} day ago"
|
|
@@ -2011,16 +2399,13 @@ en:
|
|
|
2011
2399
|
read_access: Read
|
|
2012
2400
|
view_all: View All
|
|
2013
2401
|
keep: Keep
|
|
2014
|
-
|
|
2015
|
-
edit:
|
|
2016
|
-
|
|
2017
|
-
|
|
2018
|
-
|
|
2019
|
-
|
|
2020
|
-
|
|
2021
|
-
muted: Muted
|
|
2022
|
-
none: Not configured
|
|
2023
|
-
read: Read-only
|
|
2402
|
+
level_sentences:
|
|
2403
|
+
edit: "%{set} shows this field and lets people edit it."
|
|
2404
|
+
hide: "%{set} hides this field."
|
|
2405
|
+
mask: "%{set} forces this field masked."
|
|
2406
|
+
masked: "%{set} shows this field masked (%{strategy})."
|
|
2407
|
+
no_edit: "%{set} stops people editing this field."
|
|
2408
|
+
read: "%{set} shows this field read-only."
|
|
2024
2409
|
locked:
|
|
2025
2410
|
title: 'Locked: managed by the system/API'
|
|
2026
2411
|
mask_strategies:
|
|
@@ -2041,6 +2426,7 @@ en:
|
|
|
2041
2426
|
nov: Nov
|
|
2042
2427
|
oct: Oct
|
|
2043
2428
|
sep: Sep
|
|
2429
|
+
needs_read_first: Turn on Read first
|
|
2044
2430
|
next: Next
|
|
2045
2431
|
no_group: Not in a group
|
|
2046
2432
|
open_person: Open person
|
|
@@ -2068,48 +2454,187 @@ en:
|
|
|
2068
2454
|
records: Records
|
|
2069
2455
|
remove: Remove
|
|
2070
2456
|
resource: Resource
|
|
2457
|
+
resource_plural:
|
|
2458
|
+
one: "%{name} record"
|
|
2459
|
+
other: "%{name} records"
|
|
2071
2460
|
rules:
|
|
2072
2461
|
and: and
|
|
2073
2462
|
current_user: the current user
|
|
2463
|
+
matches_nothing: Matches nothing
|
|
2464
|
+
notes:
|
|
2465
|
+
secret_column: Secret column
|
|
2074
2466
|
only_show: Only show
|
|
2075
2467
|
or_empty: or %{field} is empty
|
|
2468
|
+
problems:
|
|
2469
|
+
empty_association: The relationship path has an empty step (two dots in
|
|
2470
|
+
a row, or a dot at the start)
|
|
2471
|
+
encrypted_column: "%{name} of %{model} is encrypted: the database holds
|
|
2472
|
+
its ciphertext, so a rule can only check whether it is empty"
|
|
2473
|
+
foreign_table_html: "%{name} is a table of another model: a filter rule
|
|
2474
|
+
compares %{model}'s own columns"
|
|
2475
|
+
missing_column_html: "%{name} is not a column of %{model}"
|
|
2476
|
+
pattern_on_non_text: "%{name} of %{model} is not text: a pattern condition
|
|
2477
|
+
(contains, starts with, ends with) cannot match it"
|
|
2478
|
+
unjoinable_association: "%{name} is a relationship of %{model} that a rule
|
|
2479
|
+
cannot follow"
|
|
2480
|
+
unjoinable_class_not_loadable: "%{name} is a relationship of %{model} whose
|
|
2481
|
+
model cannot be loaded"
|
|
2482
|
+
unjoinable_invalid_definition: "%{name} is a relationship of %{model} whose
|
|
2483
|
+
:through, :source or inverse_of names a relationship that is not there"
|
|
2484
|
+
unjoinable_polymorphic: "%{name} is a polymorphic relationship of %{model}:
|
|
2485
|
+
a rule cannot follow it"
|
|
2486
|
+
unjoinable_record_dependent_scope: "%{name} is a relationship of %{model}
|
|
2487
|
+
whose scope depends on the record: a rule cannot follow it"
|
|
2488
|
+
unknown_association_html: "%{name} is not a relationship of %{model}"
|
|
2489
|
+
unknown_join_type_html: "%{name} is not a way of joining this version knows"
|
|
2490
|
+
unknown_operator_html: "%{name} is not a condition this version knows"
|
|
2491
|
+
unknown_table_html: "%{name} is not a table of this database"
|
|
2492
|
+
unusable_value_html: "%{value} is not a value %{name} of %{model} can hold"
|
|
2076
2493
|
where: where
|
|
2077
2494
|
rules_count:
|
|
2078
2495
|
one: Rules (%{count})
|
|
2079
2496
|
other: Rules (%{count})
|
|
2080
2497
|
rules_tab: Rules
|
|
2081
2498
|
search: Search
|
|
2082
|
-
search_people:
|
|
2499
|
+
search_people: Name or email
|
|
2083
2500
|
setting: Setting
|
|
2084
2501
|
states:
|
|
2085
|
-
|
|
2086
|
-
|
|
2087
|
-
|
|
2502
|
+
access_profile:
|
|
2503
|
+
full: Full access
|
|
2504
|
+
mixed: Some changes
|
|
2505
|
+
none: No access
|
|
2506
|
+
takes_away: Takes access away
|
|
2507
|
+
actor:
|
|
2508
|
+
api: API client
|
|
2509
|
+
basic_auth: Password prompt
|
|
2510
|
+
system: System
|
|
2511
|
+
unknown: Unknown
|
|
2512
|
+
user: Person
|
|
2513
|
+
effective:
|
|
2514
|
+
blocked: Blocked
|
|
2515
|
+
granted: Allowed
|
|
2516
|
+
hidden_by_muting: Hidden by muting
|
|
2517
|
+
none: 'No'
|
|
2518
|
+
field_level:
|
|
2519
|
+
edit: Editable
|
|
2520
|
+
hidden: Hidden
|
|
2521
|
+
hide: Hide
|
|
2522
|
+
leave: Unchanged
|
|
2523
|
+
mask: Force mask
|
|
2524
|
+
masked: Masked
|
|
2525
|
+
none: Not configured
|
|
2526
|
+
read: Read-only
|
|
2527
|
+
lock:
|
|
2528
|
+
locked: Locked
|
|
2088
2529
|
unconfigured:
|
|
2089
2530
|
block: Blocked by default
|
|
2090
2531
|
mask_all: Fully masked
|
|
2091
2532
|
pass_through: Passes through unmasked
|
|
2092
2533
|
warn: Passes through and is logged
|
|
2534
|
+
untitled:
|
|
2535
|
+
permission_set: Untitled Permission Set
|
|
2536
|
+
permission_set_group: Untitled Permission Set Group
|
|
2537
|
+
permission_set_rule: Untitled Rule
|
|
2093
2538
|
view_all: View All
|
|
2094
2539
|
validations:
|
|
2540
|
+
attributes:
|
|
2541
|
+
allowed_hours_end: End hour
|
|
2542
|
+
allowed_hours_start: Start hour
|
|
2543
|
+
allowed_ips: Allowed IPs
|
|
2544
|
+
create_access: Create
|
|
2545
|
+
delete_access: Delete
|
|
2546
|
+
description: Description
|
|
2547
|
+
edit_access: Edit
|
|
2548
|
+
expires_at: End date
|
|
2549
|
+
failure_message: Blocked message
|
|
2550
|
+
field_accessor_path: Relationship
|
|
2551
|
+
field_name: Field
|
|
2552
|
+
field_value: Value
|
|
2553
|
+
include_nulls: Include empty values
|
|
2554
|
+
is_active: Active
|
|
2555
|
+
is_editable: Editable
|
|
2556
|
+
is_muting: Muting
|
|
2557
|
+
is_permitted: Permitted
|
|
2558
|
+
join_type: Join
|
|
2559
|
+
label: Label
|
|
2560
|
+
mask_access: Mask
|
|
2561
|
+
mask_strategy: Mask strategy
|
|
2562
|
+
modify_all: Modify All
|
|
2563
|
+
name: Name
|
|
2564
|
+
operator: Condition
|
|
2565
|
+
permission_set_group: Permission Set Group
|
|
2566
|
+
read_access: Read
|
|
2567
|
+
requires_session_flag: Session flag
|
|
2568
|
+
user_id: Person
|
|
2569
|
+
uuid: UUID
|
|
2570
|
+
view_all: View All
|
|
2571
|
+
blank: can't be blank
|
|
2572
|
+
full_message: "%{attribute} %{message}"
|
|
2573
|
+
invalid: is invalid
|
|
2095
2574
|
name_blank: can't be blank
|
|
2575
|
+
nul_byte: must not contain a NUL byte
|
|
2096
2576
|
permission_set:
|
|
2577
|
+
flag_unusable: 'must not hold a control character (a newline, a tab): no request
|
|
2578
|
+
can carry such a flag'
|
|
2097
2579
|
group_missing: must be an existing Permission Set Group
|
|
2580
|
+
hours_equal: must differ from the start hour (a window from an hour to the
|
|
2581
|
+
same hour is empty; leave both blank for no window)
|
|
2582
|
+
hours_incomplete: must be set together with the other hour (or both left blank)
|
|
2583
|
+
hours_range: must be between 0 and 23
|
|
2584
|
+
invalid_ip_entry: contains “%{entry}”, which is not an IP address or CIDR
|
|
2585
|
+
range
|
|
2586
|
+
name_taken: is already used by another Permission Set
|
|
2587
|
+
permission_set_group_user:
|
|
2588
|
+
taken: is already a member of this group
|
|
2098
2589
|
permission_set_rule:
|
|
2099
2590
|
between_requires_two_values: must contain exactly 2 comma-separated values
|
|
2100
2591
|
for between operator
|
|
2592
|
+
empty_association: has an empty association name (two dots in a row, or a
|
|
2593
|
+
dot at the start)
|
|
2594
|
+
encrypted_column: 'names %{name}, an encrypted attribute of %{model}: the
|
|
2595
|
+
database holds its ciphertext, so a rule can only check whether it is empty
|
|
2596
|
+
(is_null, is_not_null)'
|
|
2101
2597
|
field_value_required: is required for this operator
|
|
2598
|
+
foreign_table: 'names %{name}, a table that is not %{model}''s: a filter rule
|
|
2599
|
+
compares its own table. For a column of another table, use a join rule (a
|
|
2600
|
+
join type and the relationship path)'
|
|
2102
2601
|
in_requires_values: must contain at least 1 comma-separated value
|
|
2103
2602
|
invalid_field_name: must be a valid column name (letters, numbers, underscores,
|
|
2104
2603
|
dots)
|
|
2105
2604
|
invalid_join_type: is not a valid join type
|
|
2106
2605
|
invalid_operator: is not a valid operator
|
|
2606
|
+
nul_byte: must not contain a NUL byte
|
|
2107
2607
|
numeric_or_date_required: must be a numeric or date value for comparison operators
|
|
2608
|
+
pattern_on_non_text: 'matches text only, and %{model}.%{name} is a column
|
|
2609
|
+
of type %{type}: use a condition that compares values'
|
|
2610
|
+
secret_column: 'names a column that holds a secret (a password digest, a token,
|
|
2611
|
+
an encrypted_* column): a record rule never compares one'
|
|
2612
|
+
unjoinable_association: names %{association}, an association of %{model} that
|
|
2613
|
+
a rule cannot join
|
|
2614
|
+
unjoinable_class_not_loadable: names %{association}, an association of %{model}
|
|
2615
|
+
whose class cannot be loaded
|
|
2616
|
+
unjoinable_invalid_definition: names %{association}, an association of %{model}
|
|
2617
|
+
whose :through, :source or inverse_of names an association that is not there
|
|
2618
|
+
unjoinable_polymorphic: 'names %{association}, a polymorphic association of
|
|
2619
|
+
%{model}: a rule cannot join it'
|
|
2620
|
+
unjoinable_record_dependent_scope: 'names %{association}, an association of
|
|
2621
|
+
%{model} whose scope (or one along its :through) takes the record: a rule
|
|
2622
|
+
cannot join it'
|
|
2623
|
+
unknown_association: names %{association}, which is not an association of
|
|
2624
|
+
%{model}
|
|
2625
|
+
unknown_column: names %{name}, which is not a column of %{model}
|
|
2626
|
+
unknown_table: names %{name}, which is no table of this database
|
|
2627
|
+
unusable_value: is not a value %{model}.%{name} can hold
|
|
2108
2628
|
value_not_expected: does not require a value for this operator
|
|
2109
2629
|
value_required: must not be blank for this operator
|
|
2630
|
+
permission_set_user:
|
|
2631
|
+
taken: already holds this Permission Set
|
|
2632
|
+
requires: requires %{requires} to be enabled
|
|
2110
2633
|
resource:
|
|
2111
2634
|
invalid_name: must be a valid model class name (e.g. Customer or Admin::Report)
|
|
2635
|
+
name_taken: already exists in this permission set
|
|
2112
2636
|
resource_field:
|
|
2113
2637
|
invalid_mask_strategy: is not a valid mask strategy
|
|
2114
2638
|
mask_strategy_required: must be present when mask access is enabled
|
|
2639
|
+
taken: has already been taken
|
|
2115
2640
|
too_long: is too long (at most %{count} characters)
|