Page History
...
Hvis der skal ændres på hvem, der har lov til at tilgå et topic, skal det opdates i Topic Access i databasen.
Tilføj en adgang til et Topic
Der kan være flere rækker i databasen med adgange tildeles adgange til et topic på cvr eller cvr-Xid. Der kan være flere adgange for et topic. For at give en ny tilladelse oprettes et nyt Topic Access på følgende måde:
| Code Block | ||
|---|---|---|
| ||
INSERT INTO topic_access (topic, identifier, comment) VALUES ('.sh basepath=localhost:8086/administration topic="http://www.dkma.dk/medicinecard/xml.schema/2012/06/01:MedicineCard', '" operation=create identifier="CVR:46837428', '" comment="SDS-4393: ny tilladelse oprettet');" |
Slette en adgang til et Topic
Hvis en adgang til et Topic skal slettes, gøres det på følgende måde:
| Code Block | ||
|---|---|---|
| ||
DELETE FROM topic_access WHERE.sh basepath=localhost:8086/administration topic = '"http://www.dkma.dk/medicinecard/xml.schema/2012/06/01:MedicineCard' AND" operation=delete identifier = 'CVR:46837428'; |
Ændre tilladelse fra 'ALL' til cvr eller cvr-Xid
...