HSAdmin Backend Domains, E-Mail, Datenbanken
Peter Hormanns
2015-09-11 88b6b6e67da2ac1052cf58ff1c18a102ed8d38f6
derived field are readonly
3 files modified
10 ■■■■ changed files
hsarback/src/de/hsadmin/mods/db/Database.java 4 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/db/DatabaseUser.java 4 ●●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/user/UnixUser.java 2 ●●● patch | view | raw | blame | history
hsarback/src/de/hsadmin/mods/db/Database.java
@@ -44,7 +44,7 @@
    @Column(name = "database_id", columnDefinition = "integer", updatable=false, insertable=false)
    private long id;
    @AnnFieldIO(validation="[a-zA-Z]*", rw=ReadWriteAccess.WRITEONCE)
    @AnnFieldIO(validation="[a-zA-Z]*", rw=ReadWriteAccess.READONLY)
    @Column(name = "engine", columnDefinition = "character varying(12)", updatable=false)
    private String instance;
@@ -58,7 +58,7 @@
    @JoinColumn(name = "packet_id", columnDefinition = "integer", updatable=false)
    @ManyToOne(fetch = EAGER)
    @AnnFieldIO(validation="[a-z0-9]*", rw=ReadWriteAccess.WRITEONCE)
    @AnnFieldIO(validation="[a-z0-9]*", rw=ReadWriteAccess.READONLY)
    private Pac pac;
    @AnnFieldIO(validation="[A-Za-z0-9\\_\\-]*", rw=ReadWriteAccess.WRITEONCE)
hsarback/src/de/hsadmin/mods/db/DatabaseUser.java
@@ -51,13 +51,13 @@
    @Transient
    private String password;
    @AnnFieldIO(validation="[a-zA-Z]*", rw=ReadWriteAccess.WRITEONCE)
    @AnnFieldIO(validation="[a-zA-Z]*", rw=ReadWriteAccess.READONLY)
    @Column(name = "engine", columnDefinition = "character varying(12)", updatable=false)
    protected String instance;
    @JoinColumn(name = "packet_id", columnDefinition = "integer", updatable=false)
    @ManyToOne(fetch = EAGER)
    @AnnFieldIO(validation="[a-z0-9]*", rw=ReadWriteAccess.WRITEONCE)
    @AnnFieldIO(validation="[a-z0-9]*", rw=ReadWriteAccess.READONLY)
    protected Pac pac;
    protected DatabaseUser() {
hsarback/src/de/hsadmin/mods/user/UnixUser.java
@@ -61,7 +61,7 @@
    @Column(name = "shell", columnDefinition = "character varying(32)")
    private String shell;
    @AnnFieldIO(validation="[a-z0-9\\/\\_\\-\\.]*", rw=ReadWriteAccess.WRITEONCE)
    @AnnFieldIO(validation="[a-z0-9\\/\\_\\-\\.]*", rw=ReadWriteAccess.READONLY)
    @Column(name = "homedir", columnDefinition = "character varying(48)", updatable=false)
    private String homedir;