mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
feat: Always grant control permissions to pod owners
This commit is contained in:
@@ -6,6 +6,10 @@ export interface AccountSettings {
|
||||
* If this account can be used to identify as the corresponding WebID in the IDP.
|
||||
*/
|
||||
useIdp: boolean;
|
||||
/**
|
||||
* The base URL of the pod associated with this account, if there is one.
|
||||
*/
|
||||
podBaseUrl?: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -191,6 +191,7 @@ export class RegistrationManager {
|
||||
// Register the account
|
||||
const settings: AccountSettings = {
|
||||
useIdp: input.register,
|
||||
podBaseUrl: podBaseUrl?.path,
|
||||
};
|
||||
await this.accountStore.create(input.email, input.webId!, input.password, settings);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user