Skip to content
  • Denis Laxalde's avatar
    Move permission check logic from get_entities() view to the resource · 52dcc1f1a143
    Denis Laxalde authored
    Instead of assuming that the context resource in get_entities() view has
    an "etype" attribute (which won't be true anymore in next changeset), we
    delegate permission check to the resource object in the form of an
    has_perm() method. This is step towards defining abstract interfaces for
    resource classes.
    52dcc1f1a143