Skip to content
This repository was archived by the owner on Apr 13, 2022. It is now read-only.
This repository was archived by the owner on Apr 13, 2022. It is now read-only.

Export solid-permission's Authorization and PermissionSet classes #125

Closed

Description

@dmitrizagidulin

solid-client currently only exposes getPermissions() and clearPermissions() functions.
To create new ACL resources, a developer would need to use the PermissionSet class.
So, the top level client needs to expose/export the key classes from solid-permissions.

Activity

  1. elf-pavlik commented on Oct 19, 2016

    @elf-pavlik
    Contributor

    Currently also solid.acl ends up with undefined value, so this snipped will not work - https://github.com/solid/solid-client#editing-permissions

  2. elf-pavlik commented on Oct 31, 2016

    @elf-pavlik
    Contributor

    I recommend to make the whole solid-permissions module available via solid.acl and simply change solid-permissions so that it exports all the constants so one can do both

    • solid.acl.ALL
    • new solid.acl.PermissionSet
  3. dmitrizagidulin commented on Dec 19, 2016

    @dmitrizagidulin
    ContributorAuthor

    Fixed in latest release, v0.22.5. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions