summaryrefslogtreecommitdiffstats
path: root/sidecar/rproxy/config/auth/uri-authorization.json
blob: 61ea9e69b789281a4ac23a34aeabf5fbcb5572df (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
 [
    {
      "uri": "\/not\/allowed\/at\/all$",
      "permissions": [
        "test.auth.access\\|not\\|granted"
       ]
    },
    {
      "uri": "\/single\/permission\/required$",
      "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\/[^\/]+[\/][^\/]+$*",
      "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"
      ]     
    }
  ]