Skip to content

Commit 46c3c17

Browse files
committed
Merge branch 'main' into fix/CLN-001
2 parents 23c6378 + 7ff13b8 commit 46c3c17

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

README.md

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,21 @@ Please follow the [install instructions](https://github.com/pdsinterop/solid-nex
2323

2424
<!-- @TODO: ## Usage -->
2525

26+
## Acknowledgements
27+
28+
There is [a list of all contributors on GitHub][contributors-page].
29+
30+
<p>
31+
This project was funded through the <a href="https://nlnet.nl/core">NGI0 Core</a> and <a href="https://nlnet.nl/discovery">NGI0 Discovery</a> Funds, established by <a href="https://nlnet.nl">NLnet</a> with financial support from the European Commission's <a href="https://ngi.eu">Next Generation Internet</a> programme.
32+
Learn more at the NLnet project pages: <a href="https://nlnet.nl/project/Solid-NextCloud/">Solid-NextCloud</a> and <a href="https://nlnet.nl/project/Solid-NC/">Solid NC 2024</a>
33+
</p>
34+
<p>
35+
<a href="https://nlnet.nl"><img height="64" alt="NLNet logo" src="https://nlnet.nl/logo/banner.svg"></a>
36+
<a href="https://nlnet.nl/core"><img height="64" alt="NGI0 Core logo" src="https://nlnet.nl/image/logos/NGI0Core_tag.svg"></a>
37+
<a href="https://nlnet.nl/discovery"><img height="64" alt="NGI Zero Discovery logo" src="https://nlnet.nl/image/logos/NGI0Discovery_tag.svg"></a>
38+
<a href="https://ec.europa.eu/"><img height="64" alt="European Commision logo" src="https://nlnet.nl/image/logos/EC.svg"></a>
39+
</p>
40+
2641
## Contributing
2742

2843
Questions or feedback can be given by [opening an issue on GitHub][issues-link].
@@ -34,8 +49,6 @@ For more details read the [contribution guidelines][contributing-link].
3449
All PDS Interop projects adhere to [the Code Manifesto](http://codemanifesto.com)
3550
as its [code-of-conduct][code-of-conduct]. Contributors are expected to abide by its terms.
3651

37-
There is [a list of all contributors on GitHub][contributors-page].
38-
3952
For a list of changes see the [CHANGELOG][changelog] or [the GitHub releases page][releases-page].
4053

4154
### Development

init.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@ php console.php app:enable solid
66
php console.php config:system:set trusted_domains 1 --value=server
77
php console.php config:system:set trusted_domains 2 --value=nextcloud.local
88
php console.php config:system:set trusted_domains 3 --value=thirdparty
9+
# set 'tester' and 'https://tester' as allowed clients for the test suite to run
10+
php console.php user:setting alice solid allowedClients '["f5d1278e8109edd94e1e4197e04873b9", "2e5cddcf0f663544e98982931e6cc5a6"]'
911
echo configured

solid/lib/Controller/ServerController.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -255,12 +255,6 @@ public function authorize() {
255255

256256
private function checkApproval($clientId) {
257257
$allowedClients = $this->config->getAllowedClients($this->userId);
258-
if ($clientId == md5("tester")) { // FIXME: Double check that this is not a security issue; It is only here to help the test suite;
259-
return \Pdsinterop\Solid\Auth\Enum\Authorization::APPROVED;
260-
}
261-
if ($clientId == md5("https://tester")) { // FIXME: Double check that this is not a security issue; It is only here to help the test suite;
262-
return \Pdsinterop\Solid\Auth\Enum\Authorization::APPROVED;
263-
}
264258
if (in_array($clientId, $allowedClients)) {
265259
return \Pdsinterop\Solid\Auth\Enum\Authorization::APPROVED;
266260
} else {

0 commit comments

Comments
 (0)