DaanHoogland commented on code in PR #9549:
URL: https://github.com/apache/cloudstack/pull/9549#discussion_r1726662963
##########
engine/schema/src/main/java/org/apache/cloudstack/acl/RoleVO.java:
##########
@@ -58,11 +58,16 @@ public class RoleVO implements Role {
@Column(name = "public_role")
private boolean publicRole = true;
+ @Column(name = "state")
+ @Enumerated(value = EnumType.STRING)
+ private State state;
+
@Column(name = GenericDao.REMOVED_COLUMN)
private Date removed;
public RoleVO() {
this.uuid = UUID.randomUUID().toString();
+ this.state = State.ENABLED;
Review Comment:
no constructor needed with the actual state (from the DB or UI)?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]