strolch/li.strolch.service
Robert von Burg 0cadf66f3f [Major] Refactored Privilege to use separate mode files
So now users and roles are in their own files. This makes it far easier
to add new privileges without needing to take care if the user changed
their data.
2016-02-28 19:54:17 +01:00
..
src [Major] Refactored Privilege to use separate mode files 2016-02-28 19:54:17 +01:00
.gitignore moved everything to a subdirectory for repo merge 2014-09-16 08:53:28 +02:00
LICENSE moved everything to a subdirectory for repo merge 2014-09-16 08:53:28 +02:00
README.md [New] added Integer, Float and ListParameters 2015-05-02 13:32:30 +02:00
pom.xml implemented core planning functionality where activity with all child 2015-05-22 21:04:37 +02:00

README.md

li.strolch.service

Build Status

Service API for Strolch

Running tests

  • Start PostgreSQL console and create the users: $ sudo -u postgres psql $ postgres=# create user cacheduser with password 'test'; create database cacheduserdb; GRANT ALL PRIVILEGES ON DATABASE cacheduserdb to cacheduser; GRANT CONNECT ON DATABASE cacheduserdb TO cacheduser;

create user transactionaluser with password 'test'; create database transactionaluserdb; GRANT ALL PRIVILEGES ON DATABASE transactionaluserdb to transactionaluser; GRANT CONNECT ON DATABASE transactionaluserdb TO transactionaluser;

You can revoke the privileges with the following:

revoke ALL PRIVILEGES ON DATABASE cacheduserdb from cacheduser; drop user cacheduser; drop database cacheduserdb;

revoke ALL PRIVILEGES ON DATABASE transactionaluserdb from transactionaluser; drop user transactionaluser; drop database transactionaluserdb;