Skip to content

Commit 2796d18

Browse files
committed
[spalenque] - #13388 * passport page allow not members access and link in page bottom
1 parent c1027da commit 2796d18

2 files changed

Lines changed: 8 additions & 4 deletions

File tree

marketplace/code/interfaces/restfull_api/marketplace/PublicCloudPassportResfullApi.php

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,17 @@ protected function isApiCall(){
4747
return strpos(strtolower($request->getURL()),self::ApiPrefix) !== false;
4848
}
4949

50+
/**
51+
* @return bool
52+
*/
53+
protected function authenticate(){
54+
return true;
55+
}
56+
5057
/**
5158
* @return bool
5259
*/
5360
protected function authorize(){
54-
//check permissions
55-
if(!Permission::check("SANGRIA_ACCESS"))
56-
return false;
5761
return true;
5862
}
5963

marketplace/templates/Layout/PublicCloudPassportsPage.ss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
<img class="icon" src="/marketplace/code/ui/frontend/images/training.svg" alt="">
4949
<h4>Resources</h4>
5050
<p>Dig deep into the the world of OpenStack through the eyes of those who operate and develop OpenStack. Ask, find and answer OpenStack specific questions here.</p>
51-
<button class="btn btn-secondary">Explore</button>
51+
<a href="{$BaseHref}community" class="btn btn-secondary">Explore</a>
5252
</div>
5353
</div>
5454
</div>

0 commit comments

Comments
 (0)