<commit_before>{
    "context_is_admin": [["role:admin"]],
    "admin_or_owner":  [["is_admin:True"], ["project_id:%(project_id)s"]],
    "default": [["rule:admin_or_owner"]],

    "admin_api": [["is_admin:True"]],

    "share:create": [],
    "share:get_all": ["project_id:%(project_id)s"],
    "share:get_snapshot": ["project_id:%(project_id)s"],
    "share:get_all_snapshots": ["project_id:%(project_id)s"],

    "share_extension:quotas:show": [],
    "share_extension:quotas:update_for_project": [["rule:admin_api"]],
    "share_extension:quotas:update_for_user": [["rule:admin_or_projectadmin"]],
    "share_extension:quota_classes": [],

    "share_extension:share_admin_actions:force_delete": [["rule:admin_api"]],
    "share_extension:share_admin_actions:reset_status": [["rule:admin_api"]],
    "share_extension:snapshot_admin_actions:force_delete": [["rule:admin_api"]],
    "share_extension:snapshot_admin_actions:reset_status": [["rule:admin_api"]],

    "share_extension:services": [["rule:admin_api"]],

    "share_extension:types_manage": [["rule:admin_api"]],
    "share_extension:types_extra_specs": [["rule:admin_api"]],

    "security_service:create": [],
    "security_service:delete": [],
    "security_service:update": [],

    "share_server:index": [["rule:admin_api"]],
    "share_server:show": [["rule:admin_api"]],
    "share_server:details": [["rule:admin_api"]],
    "share_server:delete": [["rule:admin_api"]],

    "share_network:create": [],
    "share_network:delete": [],
    "share_network:update": [],
    "share_network:index": [],
    "share_network:detail": [],
    "share_network:show": [],
    "share_network:add_security_service": [],
    "share_network:remove_security_service": [],
    "share_network:activate": [],
    "share_network:deactivate": []
}<commit_msg>Adds undocumented policies and defaults in policy.json<commit_after>{
    "context_is_admin": [["role:admin"]],
    "admin_or_owner":  [["is_admin:True"], ["project_id:%(project_id)s"]],
    "default": [["rule:admin_or_owner"]],

    "admin_api": [["is_admin:True"]],

    "share:create": [],
    "share:delete": [["rule:default"]],
    "share:get": [["rule:default"]],
    "share:get_all": [["rule:default"]],
    "share:update": [["rule:default"]],
    "share:snapshot_update": [["rule:default"]],
    "share:create_snapshot": [["rule:default"]],
    "share:delete_snapshot": [["rule:default"]],
    "share:get_snapshot": [["rule:default"]],
    "share:get_all_snapshots": [["rule:default"]],
    "share:access_get": [["rule:default"]],
    "share:access_get_all": [["rule:default"]],
    "share:allow_access": [["rule:default"]],
    "share:deny_access": [["rule:default"]],
    "share:get_share_metadata": [["rule:default"]],
    "share:delete_share_metadata": [["rule:default"]],
    "share:update_share_metadata": [["rule:default"]],

    "share_extension:quotas:show": [],
    "share_extension:quotas:update": [["rule:admin_api"]],
    "share_extension:quotas:delete": [["rule:admin_api"]],
    "share_extension:quota_classes": [],

    "share_extension:share_admin_actions:force_delete": [["rule:admin_api"]],
    "share_extension:share_admin_actions:reset_status": [["rule:admin_api"]],
    "share_extension:snapshot_admin_actions:force_delete": [["rule:admin_api"]],
    "share_extension:snapshot_admin_actions:reset_status": [["rule:admin_api"]],

    "share_extension:services": [["rule:admin_api"]],

    "share_extension:types_manage": [["rule:admin_api"]],
    "share_extension:types_extra_specs": [["rule:admin_api"]],

    "security_service:create": [["rule:default"]],
    "security_service:delete": [["rule:default"]],
    "security_service:update": [["rule:default"]],
    "security_service:show": [["rule:default"]],
    "security_service:index": [["rule:default"]],
    "security_service:detail": [["rule:default"]],

    "share_server:index": [["rule:admin_api"]],
    "share_server:show": [["rule:admin_api"]],
    "share_server:details": [["rule:admin_api"]],
    "share_server:delete": [["rule:admin_api"]],

    "share_network:create": [["rule:default"]],
    "share_network:delete": [["rule:default"]],
    "share_network:update": [["rule:default"]],
    "share_network:index": [["rule:default"]],
    "share_network:detail": [["rule:default"]],
    "share_network:show": [["rule:default"]],
    "share_network:add_security_service": [["rule:default"]],
    "share_network:remove_security_service": [["rule:default"]]
}
{'fraction_non_alphanumeric': 0.2184553210597216, 'fraction_numerical': 0.0, 'mean_word_length': 7.12956204379562, 'pattern_counts': {'":': 86, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6501764', 'n_tokens_mistral': 1546, 'n_tokens_neox': 1531, 'n_words': 163}