Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve create preferencesFile #65

Open
bourgeoa opened this issue May 19, 2023 · 0 comments
Open

improve create preferencesFile #65

bourgeoa opened this issue May 19, 2023 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@bourgeoa
Copy link
Contributor

async function loadPreferences (user: NamedNode): Promise <NamedNode> {
await loadProfile(user)
const possiblePreferencesFile = suggestPreferencesFile(user)
let preferencesFile
try {
preferencesFile = await utilityLogic.followOrCreateLink(user, ns.space('preferencesFile') as NamedNode, possiblePreferencesFile, user.doc())

When creating a preferencesFile :

  • folder created is /Settings/ we are accustomed to /settings/
  • no ACLs are created : NSS historically uses ReadWriteControl for the owner WebID on /settings/
@bourgeoa bourgeoa self-assigned this May 19, 2023
@bourgeoa bourgeoa added the question Further information is requested label May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
Status: No status
Development

No branches or pull requests

1 participant