summaryrefslogtreecommitdiffstats
path: root/sidecar/rproxy/config/auth/uri-authorization.json
blob: 208db1a9e4b7d31fe300b3e31b5bce4bcf6cb041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
 [
    {
      "uri": "\/not\/allowed\/at\/all$",
      "permissions": [
        "test.auth.access\\|not\\|granted"
       ]
    },
    {
      "uri": "\/single\/permission\/required$",
      "method": "GET",
      "permissions": [
        "test.single.access\\|single\\|permission"
       ]
    },    
    {
      "uri": "\/single\/permission\/required$",
      "method": "PUT|POST",
      "permissions": [
        "test.single.access\\|single\\|permission"
       ]
    },
    {
      "uri": "\/multiple\/permissions\/required$",
      "permissions": [
        "test.multiple.access\\|first\\|permission",
        "test.multiple.access\\|second\\|permission",
        "test.multiple.access\\|third\\|permission"
       ]
    },
    {
      "uri": "\/multiple\/permissions\/required/one/missing$",
      "permissions": [
        "test.multiple.access\\|first\\|permission",
        "test.multiple.access\\|second\\|permission",
        "test.multiple.access\\|third\\|permission",
        "test.multiple.access\\|fourth\\|permission"
       ]
    },
	{
      "uri": "\/wildcard\/permission\/granted$",
      "permissions": [
        "test.wildcard.access\\|first\\|permission",
        "test.wildcard.access\\|second\\|permission",
        "test.wildcard.access\\|third\\|consent"
       ]
    },
    {
      "uri": "\/instance\/wildcard\/permission\/granted$",
      "permissions": [
        "test.wildcard.access\\|first\\|permission",
        "test.wildcard.access\\|second\\|permission",
        "test.wildcard.access\\|third\\|permission"
       ]
    },
	{
      "uri": "\/action\/wildcard\/permission\/granted$",
      "permissions": [
        "test.wildcard.access\\|first\\|permission",
        "test.wildcard.access\\|first\\|permission",
        "test.wildcard.access\\|first\\|consent"
       ]
    },    
    {
      "uri": "\/services\/getAAFRequest$",
      "permissions": [
        "test.auth.access\\|services\\|GET,PUT"
       ]
    },
    {
      "uri": "\/admin\/getAAFRequest$",
      "permissions": [
        "test.auth.access\\|admin\\|GET,PUT,POST"
       ]
    },
    {
      "uri": "\/service\/aai\/webapp\/index.html$",
      "permissions": [
        "test.auth.access\\|services\\|GET,PUT"
       ]
    },    
    {
      "uri": "\/services\/aai\/webapp\/index.html$",
      "permissions": [
        "test.auth.access\\|services\\|GET,PUT"
       ]
    },    
    {
      "uri": "\/$",
      "permissions": [
      	"\\|services\\|GET",
        "test\\.auth\\.access\\|services\\|GET,PUT"
       ]
    },    
    {
      "uri": "\/aai\/v13\/cloud-infrastructure\/cloud-regions$",
      "permissions": [
        "test\\.auth\\.access\\|rest\\|write",
        "test\\.auth\\.access\\|rpc\\|write"        
       ]
    },
    {
      "uri": "\/aai\/v13\/cloud-infrastructure\/cloud-regions\/cloud-region\/[^\/]+[\/][^\/]+$*",
      "method": "GET",
      "permissions": [
        "test.auth.access\\|clouds\\|read",
        "test.auth.access\\|tenants\\|read"
      ]     
    },
    {
      "uri": "\/aai\/v13\/cloud-infrastructure\/cloud-regions\/cloud-region\/[^\/]+[\/][^\/]+\/tenants/tenant/[^\/]+/vservers/vserver/[^\/]+$",
      "permissions": [
        "test.auth.access\\|clouds\\|read",
        "test.auth.access\\|tenants\\|read",
        "test.auth.access\\|vservers\\|read"
      ]     
    }
  ]