Hi,

I need to set API permission to* internal/store* user role defined in
Carbon User Mgt. I found some related config on jaggery.conf as below.

"loginConfig": {
        "authMethod": "BASIC"
    },
    "securityConstraints": [
        {
            "securityConstraint": {
                "webResourceCollection": {
                    "name": "store",
                    "urlPatterns": [
                        "/apis/v1/assets/*", "/apis/v2/assets/*"],
                    "methods": [
                        "GET",
                        "POST",
                        "PUT",
                        "DELETE",
                        "HEAD",
                        "OPTIONS",
                        "TRACE",
                        "CONNECT",
                        "PATCH"
                    ]
                },
                "authRoles": [
                    "admin",
                    "Internal/store"

                ]
            }

I tried to add *Internal/store *and seems it doesn't pickup role permission
to basic auth. but for admin this is working fine.

Any hint on this?


Thank you,

Regards,

*Dakshika Jayathilaka*
Software Engineer
WSO2, Inc.
lean.enterprise.middleware
0771100911
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to