What's Changed
- Some Safe Apps might set access restrictions (eg.: for the host that is accessing those same apps). Each Safe App now includes a collection of restrictions (if any exist) for a specific Safe App, allowing the clients the possibility of handling apps that are restricted in a different way #774
- Current available types of restrictions:
NO_RESTRICTIONS
– no restrictions set for this Safe AppDOMAIN_ALLOWLIST
– only domains set in the returned collection are allowed to access the Safe App
- Clients can use the query parameter
?client_url=<domain>
to retrieve apps that are set to have no restrictions and restricted to thatdomain
GET /api/v1/chains/<chain_id>/safe-apps
{
"accessControl": {
"type": "NO_RESTRICTIONS" // No restrictions for this safe app
},
}
GET /api/v1/chains/<chain_id>/safe-apps
{
"accessControl": {
"type": "DOMAIN_ALLOWLIST",
"value": [
"http://domain.com" // This domain is the only one allowed to access this Safe App. Accessing from any other is not guaranteed to work
]
}
}
Full Changelog: v3.14.0...v3.15.0