diff --git a/config/authorization/config.ex b/config/authorization/config.ex index 6d2e096..5604f40 100644 --- a/config/authorization/config.ex +++ b/config/authorization/config.ex @@ -7,10 +7,6 @@ alias Acl.GroupSpec, as: GroupSpec alias Acl.GroupSpec.GraphCleanup, as: GraphCleanup defmodule Acl.UserGroups.Config do -@account_type [ - "http://xmlns.com/foaf/0.1/Person", - "http://xmlns.com/foaf/0.1/OnlineAccount" -] @protected_resource_type [ "http://www.w3.org/ns/org#Organization", "http://data.vlaanderen.be/ns/besluit#Bestuurseenheid", @@ -99,26 +95,6 @@ defmodule Acl.UserGroups.Config do } } ] - }, - %GroupSpec{ - name: "account", - useage: [:read], - access: %AccessByQuery{ - query: "PREFIX mu: - PREFIX session: - SELECT ?account WHERE { - session:account ?account. - } LIMIT 1", - vars: [] - }, - graphs: [ - %GraphSpec{ - graph: "http://mu.semte.ch/graphs/contacthub/accounts", - constraint: %ResourceConstraint{ - resource_types: @account_type - } - } - ] }, %GroupSpec{ name: "ch-admin",