New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make some properties write-once #1235

Closed
woju opened this Issue Sep 24, 2015 · 0 comments

Comments

Projects
None yet
1 participant
@woju
Member

woju commented Sep 24, 2015

Some properties should not be update by user. These include:

  • uuid
  • qid
  • xid

The solution is to make them write-once, they will be set when loaded from xml.

@woju woju self-assigned this Sep 24, 2015

@woju woju added this to the Release 4.0 milestone Sep 24, 2015

@woju woju added C: core task labels Sep 24, 2015

@woju woju closed this Sep 25, 2015

woju added a commit to woju/qubes-core-admin that referenced this issue Sep 25, 2015

core3: some properties can be set only once
Some properties should not be changed by user at will (like UUID). The
solution is to make them write-once, so they will be set when loading
from XML and frozen for the lifespan of the object holding the property.
When desperately needed, users may edit XML by hand.

fixes QubesOS/qubes-issues#1235

woju added a commit to woju/qubes-core-admin that referenced this issue Sep 28, 2015

core3: some properties can be set only once
Some properties should not be changed by user at will (like UUID). The
solution is to make them write-once, so they will be set when loading
from XML and frozen for the lifespan of the object holding the property.
When desperately needed, users may edit XML by hand.

fixes QubesOS/qubes-issues#1235

woju added a commit to woju/qubes-core-admin that referenced this issue Sep 28, 2015

core3: some properties can be set only once
Some properties should not be changed by user at will (like UUID). The
solution is to make them write-once, so they will be set when loading
from XML and frozen for the lifespan of the object holding the property.
When desperately needed, users may edit XML by hand.

fixes QubesOS/qubes-issues#1235

woju added a commit to woju/qubes-core-admin that referenced this issue Oct 5, 2015

core3: some properties can be set only once
Some properties should not be changed by user at will (like UUID). The
solution is to make them write-once, so they will be set when loading
from XML and frozen for the lifespan of the object holding the property.
When desperately needed, users may edit XML by hand.

fixes QubesOS/qubes-issues#1235
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment