<commit_before><Policy xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" PolicyId="airavata-default-xacml-policy"
        RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides" Version="1.0">
    <Target/>
    <Rule Effect="Permit" RuleId="admin-permit">
        <Target>
            <AnyOf>
                <AllOf>
                    <Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-regexp-match">
                        <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">/airavata/*</AttributeValue>
                        <AttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id"
                                             Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action"
                                             DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/>
                    </Match>
                </AllOf>
            </AnyOf>
        </Target>
        <Condition>
            <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-is-in">
                <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">admin</AttributeValue>
                <AttributeDesignator AttributeId="http://wso2.org/claims/role"
                                     Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject"
                                     DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/>
            </Apply>
        </Condition>
    </Rule>
    <Rule Effect="Permit" RuleId="admin-read-only-permit">
        <Target>
            <AnyOf>
                <AllOf>
                    <Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-regexp-match">
                        <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">^(?:(?!
/airavata/getSSHPubKey|
/airavata/getAllGatewaySSHPubKeys|
/airavata/getAllGatewayPWDCredentials|
/airavata/getApplicationModule|
/airavata/getAllAppModules|
/airavata/getApplicationDeployment|
/airavata/getAllApplicationDeployments|
/airavata/getAppModuleDeployedResources|
/airavata/getStorageResource|
/airavata/getAllStorageResourceNames|
/airavata/getSCPDataMovement|
/airavata/getUnicoreDataMovement|
/airavata/getGridFTPDataMovement|
/airavata/getResourceJobManager|
/airavata/deleteResourceJobManager|
/airavata/getGatewayResourceProfile|
/airavata/getGatewayComputeResourcePreference|
/airavata/getGatewayStoragePreference|
/airavata/getAllGatewayComputeResourcePreferences|
/airavata/getAllGatewayStoragePreferences|
/airavata/getAllGatewayResourceProfiles|
/airavata/getAPIVersion|
/airavata/getNotification|
/airavata/getAllNotifications|
/airavata/createProject|
/airavata/updateProject|
/airavata/getProject|
/airavata/deleteProject|
/airavata/getUserProjects|
/airavata/searchProjectsByProjectName|
/airavata/searchProjectsByProjectDesc|
/airavata/searchExperimentsByName|
/airavata/searchExperimentsByDesc|
/airavata/searchExperimentsByApplication|
/airavata/searchExperimentsByStatus|
/airavata/searchExperimentsByCreationTime|
/airavata/searchExperiments|
/airavata/getExperimentStatistics|
/airavata/getExperimentsInProject|
/airavata/getUserExperiments|
/airavata/createExperiment|
/airavata/deleteExperiment|
/airavata/getExperiment|
/airavata/getDetailedExperimentTree|
/airavata/updateExperiment|
/airavata/updateExperimentConfiguration|
/airavata/updateResourceScheduleing|
/airavata/validateExperiment|
/airavata/launchExperiment|
/airavata/getExperimentStatus|
/airavata/getExperimentOutputs|
/airavata/getIntermediateOutputs|
/airavata/getJobStatuses|
/airavata/getJobDetails|
/airavata/cloneExperiment|
/airavata/terminateExperiment|
/airavata/getApplicationInterface|
/airavata/getAllApplicationInterfaceNames|
/airavata/getAllApplicationInterfaces|
/airavata/getApplicationInputs|
/airavata/getApplicationOutputs|
/airavata/getAvailableAppInterfaceComputeResources|
/airavata/getComputeResource|
/airavata/getAllComputeResourceNames|
/airavata/getWorkflow|
/airavata/getWorkflowTemplateId|
/airavata/isWorkflowExistWithName|
/airavata/registerDataProduct|
/airavata/getDataProduct|
/airavata/registerReplicaLocation|
/airavata/getParentDataProduct|
/airavata/getChildDataProducts).)*$\r?\n?
</AttributeValue>
                        <AttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id"
                                             Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action"
                                             DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/>
                    </Match>
                </AllOf>
            </AnyOf>
        </Target>
        <Condition>
            <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-is-in">
                <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">admin-read-only</AttributeValue>
                <AttributeDesignator AttributeId="http://wso2.org/claims/role"
                                     Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject"
                                     DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/>
            </Apply>
        </Condition>
    </Rule>
    <Rule Effect="Permit" RuleId="user-permit">
        <Target>
            <AnyOf>
                <AllOf>
                    <Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-regexp-match">
                        <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">^(?:(?!
/airavata/getAPIVersion|
/airavata/getNotification|
/airavata/getAllNotifications|
/airavata/createProject|
/airavata/updateProject|
/airavata/getProject|
/airavata/deleteProject|
/airavata/getUserProjects|
/airavata/searchProjectsByProjectName|
/airavata/searchProjectsByProjectDesc|
/airavata/searchExperimentsByName|
/airavata/searchExperimentsByDesc|
/airavata/searchExperimentsByApplication|
/airavata/searchExperimentsByStatus|
/airavata/searchExperimentsByCreationTime|
/airavata/searchExperiments|
/airavata/getExperimentStatistics|
/airavata/getExperimentsInProject|
/airavata/getUserExperiments|
/airavata/createExperiment|
/airavata/deleteExperiment|
/airavata/getExperiment|
/airavata/getDetailedExperimentTree|
/airavata/updateExperiment|
/airavata/updateExperimentConfiguration|
/airavata/updateResourceScheduleing|
/airavata/validateExperiment|
/airavata/launchExperiment|
/airavata/getExperimentStatus|
/airavata/getExperimentOutputs|
/airavata/getIntermediateOutputs|
/airavata/getJobStatuses|
/airavata/getJobDetails|<commit_msg>updating xacml policies<commit_after><Policy xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" PolicyId="airavata-default-xacml-policy"
        RuleCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-overrides" Version="1.0">
    <Target/>
    <Rule Effect="Permit" RuleId="admin-permit">
        <Target>
            <AnyOf>
                <AllOf>
                    <Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-regexp-match">
                        <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">/airavata/*</AttributeValue>
                        <AttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id"
                                             Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action"
                                             DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/>
                    </Match>
                </AllOf>
            </AnyOf>
        </Target>
        <Condition>
            <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-is-in">
                <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">admin</AttributeValue>
                <AttributeDesignator AttributeId="http://wso2.org/claims/role"
                                     Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject"
                                     DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/>
            </Apply>
        </Condition>
    </Rule>
    <Rule Effect="Permit" RuleId="admin-read-only-permit">
        <Target>
            <AnyOf>
                <AllOf>
                    <Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-regexp-match">
                        <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">^(?:(?!
/airavata/getSSHPubKey|
/airavata/getAllGatewaySSHPubKeys|
/airavata/getAllGatewayPWDCredentials|
/airavata/getApplicationModule|
/airavata/getAllAppModules|
/airavata/getApplicationDeployment|
/airavata/getAllApplicationDeployments|
/airavata/getAppModuleDeployedResources|
/airavata/getStorageResource|
/airavata/getAllStorageResourceNames|
/airavata/getSCPDataMovement|
/airavata/getUnicoreDataMovement|
/airavata/getGridFTPDataMovement|
/airavata/getResourceJobManager|
/airavata/deleteResourceJobManager|
/airavata/getGatewayResourceProfile|
/airavata/getGatewayComputeResourcePreference|
/airavata/getGatewayStoragePreference|
/airavata/getAllGatewayComputeResourcePreferences|
/airavata/getAllGatewayStoragePreferences|
/airavata/getAllGatewayResourceProfiles|
/airavata/getAPIVersion|
/airavata/getNotification|
/airavata/getAllNotifications|
/airavata/createProject|
/airavata/updateProject|
/airavata/getProject|
/airavata/deleteProject|
/airavata/getUserProjects|
/airavata/searchProjects|
/airavata/searchExperiments|
/airavata/getExperimentStatistics|
/airavata/getExperimentsInProject|
/airavata/getUserExperiments|
/airavata/createExperiment|
/airavata/deleteExperiment|
/airavata/getExperiment|
/airavata/getDetailedExperimentTree|
/airavata/updateExperiment|
/airavata/updateExperimentConfiguration|
/airavata/updateResourceScheduleing|
/airavata/validateExperiment|
/airavata/launchExperiment|
/airavata/getExperimentStatus|
/airavata/getExperimentOutputs|
/airavata/getIntermediateOutputs|
/airavata/getJobStatuses|
/airavata/getJobDetails|
/airavata/cloneExperiment|
/airavata/terminateExperiment|
/airavata/getApplicationInterface|
/airavata/getAllApplicationInterfaceNames|
/airavata/getAllApplicationInterfaces|
/airavata/getApplicationInputs|
/airavata/getApplicationOutputs|
/airavata/getAvailableAppInterfaceComputeResources|
/airavata/getComputeResource|
/airavata/getAllComputeResourceNames|
/airavata/getWorkflow|
/airavata/getWorkflowTemplateId|
/airavata/isWorkflowExistWithName|
/airavata/registerDataProduct|
/airavata/getDataProduct|
/airavata/registerReplicaLocation|
/airavata/getParentDataProduct|
/airavata/getChildDataProducts).)*$\r?\n?
</AttributeValue>
                        <AttributeDesignator AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id"
                                             Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action"
                                             DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/>
                    </Match>
                </AllOf>
            </AnyOf>
        </Target>
        <Condition>
            <Apply FunctionId="urn:oasis:names:tc:xacml:1.0:function:string-is-in">
                <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">admin-read-only</AttributeValue>
                <AttributeDesignator AttributeId="http://wso2.org/claims/role"
                                     Category="urn:oasis:names:tc:xacml:1.0:subject-category:access-subject"
                                     DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="true"/>
            </Apply>
        </Condition>
    </Rule>
    <Rule Effect="Permit" RuleId="user-permit">
        <Target>
            <AnyOf>
                <AllOf>
                    <Match MatchId="urn:oasis:names:tc:xacml:1.0:function:string-regexp-match">
                        <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">^(?:(?!
/airavata/getAPIVersion|
/airavata/getNotification|
/airavata/getAllNotifications|
/airavata/createProject|
/airavata/updateProject|
/airavata/getProject|
/airavata/deleteProject|
/airavata/getUserProjects|
/airavata/searchsearchProjects|
/airavata/searchExperiments|
/airavata/getExperimentStatistics|
/airavata/getExperimentsInProject|
/airavata/getUserExperiments|
/airavata/createExperiment|
/airavata/deleteExperiment|
/airavata/getExperiment|
/airavata/getDetailedExperimentTree|
/airavata/updateExperiment|
/airavata/updateExperimentConfiguration|
/airavata/updateResourceScheduleing|
/airavata/validateExperiment|
/airavata/launchExperiment|
/airavata/getExperimentStatus|
/airavata/getExperimentOutputs|
/airavata/getIntermediateOutputs|
/airavata/getJobStatuses|
/airavata/getJobDetails|
{'fraction_non_alphanumeric': 0.12027972027972028, 'fraction_numerical': 0.011965811965811967, 'mean_word_length': 3.5304470256951777, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, 'https://': 0, 'lorem ipsum': 0, 'www.': 18, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 25, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4827201', 'n_tokens_mistral': 4201, 'n_tokens_neox': 4127, 'n_words': 361}