File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -101,7 +101,9 @@ public static function generateDefaultAcl() {
101101 a acl:Authorization;
102102 acl:agentClass foaf:Agent;
103103 acl:accessTo <./>;
104- acl:mode acl:Read.
104+ # All resources will inherit this authorization, by default
105+ acl:default <./>;
106+ acl:mode acl:Read.
105107
106108# The owner has full access to every resource in their pod.
107109# Other agents have no access rights,
@@ -123,7 +125,7 @@ public static function generateDefaultAcl() {
123125 public static function generateDefaultProfile () {
124126 $ user = self ::getOwner ();
125127 if (!isset ($ user ['storage ' ]) || !$ user ['storage ' ]) {
126- $ user ['storage ' ] = "https://storage- " . $ userId . ". " . BASEDOMAIN . "/ " ;
128+ $ user ['storage ' ] = "https://storage- " . self :: getProfileId () . ". " . BASEDOMAIN . "/ " ;
127129 }
128130 if (is_array ($ user ['storage ' ])) { // empty array is already handled
129131 $ user ['storage ' ] = array_values ($ user ['storage ' ])[0 ]; // FIXME: Handle multiple storage pods
You can’t perform that action at this time.
0 commit comments