<?xml version="1.0" encoding="UTF-8"?>
<!--
 !
 ! Copyright 2006 The Apache Software Foundation.
 !
 ! Licensed under the Apache License, Version 2.0 (the "License");
 ! you may not use this file except in compliance with the License.
 ! You may obtain a copy of the License at
 !
 !      http://www.apache.org/licenses/LICENSE-2.0
 !
 ! Unless required by applicable law or agreed to in writing, software
 ! distributed under the License is distributed on an "AS IS" BASIS,
 ! WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 ! See the License for the specific language governing permissions and
 ! limitations under the License.
 !-->
<serviceGroup>
    <service name="ModuleAdminService" scope="transportsession">
        <transports>
            <transport>https</transport>
        </transports>
        <parameter name="ServiceClass" locked="false">
            org.wso2.carbon.module.mgt.service.ModuleAdminService
        </parameter>      
        <operation name="listModulesForOperation">
            <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/service</parameter>
        </operation>
        <operation name="listModulesForService">
            <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/service</parameter>        
        </operation>
        <operation name="listModulesForServiceGroup">
            <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/service</parameter>        
        </operation>
        <operation name="engageModuleForServiceGroup">
            <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/service</parameter>
        </operation>
        <operation name="disengageModuleForServiceGroup">
            <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/service</parameter>
        </operation>
        <operation name="engageModuleForService">
            <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/service</parameter>
        </operation>
        <operation name="disengageModuleForService">
            <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/service</parameter>
        </operation>
        <operation name="engageModuleForOperation">
            <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/service</parameter>
        </operation>
        <operation name="disengageModuleForOperation">
            <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/service</parameter>
        </operation>
    </service>
    <parameter name="sendStacktraceDetailsWithFaults">true</parameter>
    <parameter name="DrillDownToRootCauseForFaultReason">true</parameter>
    <parameter name="AuthorizationAction" locked="false">/permission/admin/manage/modify/module</parameter>
    <parameter name="adminService" locked="true">true</parameter>
    <parameter name="hiddenService" locked="true">true</parameter>
</serviceGroup>
