vorher vergessene SQL statements endlich nachgeliefert.
This commit is contained in:
parent
a19480f55b
commit
d379af7852
@ -150,3 +150,11 @@ INSERT INTO unixuser (name, comment, shell, homedir, locked, packet_id, userid)
|
||||
INSERT INTO unixuser (name, comment, shell, homedir, locked, packet_id, userid)
|
||||
SELECT 'hsh01-ad', 'hostmaster ad', '/bin/bash', '/home/pacs/hsh01/users/ad', FALSE, packet_id, 10003 FROM packet
|
||||
WHERE packet_name='hsh01';
|
||||
|
||||
--
|
||||
-- table: domain_option
|
||||
--
|
||||
INSERT INTO domain_option (domain_option_name)
|
||||
VALUES ('graylisting);
|
||||
INSERT INTO domain_option (domain_option_name)
|
||||
VALUES ('htdocsfallback');
|
||||
|
@ -152,6 +152,7 @@ public class DomainModuleImpl extends AbstractModuleImpl {
|
||||
}
|
||||
if (!admin.getName().equals(oldDom.getUser().getName())) {
|
||||
throw new AuthorisationException(loginUser, "update", existingEntity, "user");
|
||||
// Sollte in Zukunft erlaubt werden.
|
||||
}
|
||||
Query q = em.createQuery("SELECT opt FROM " +
|
||||
DomainOption.class.getAnnotation(javax.persistence.Entity.class).name() +
|
||||
|
Loading…
Reference in New Issue
Block a user