mirror of
https://github.com/OpenBankProject/API-Explorer.git
synced 2026-02-06 10:47:23 +00:00
Make other party name in the transactions list a link if user has owner permissions
This commit is contained in:
parent
8959241f4f
commit
235e27eba0
@ -107,7 +107,10 @@ class OBPTransactionSnippet (params : (TransactionsJson, AccountJson, Transactio
|
||||
}
|
||||
|
||||
def aliasSelector = {
|
||||
val hasManagementAccess = false //TODO: Calculate this
|
||||
val hasManagementAccess = {
|
||||
val availableViews = accountJson.views_available.flatten
|
||||
availableViews.exists(view => view.id == Some("owner"))
|
||||
}
|
||||
|
||||
def aliasInfo = {
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user