yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #07166
[Bug 1260333] [NEW] Malformed property protection rules return error to end user
Public bug reported:
Using a property protections file such as:
[.*]
create = @,!
read = @
update = @
delete = @
The create operation has an invalid rule, duplicate values are not
allowed. This should probably result in the service refusing to start,
however currently the service will start and operations touching this
value will return:
500 Internal Server Error
Malformed property protection rule 'some_property': '@' and '!' are mutually exclusive (HTTP 500)
to the end user. My feeling is that the end user should not receive any
information about the cause of the error, just the 500 status.
** Affects: glance
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1260333
Title:
Malformed property protection rules return error to end user
Status in OpenStack Image Registry and Delivery Service (Glance):
New
Bug description:
Using a property protections file such as:
[.*]
create = @,!
read = @
update = @
delete = @
The create operation has an invalid rule, duplicate values are not
allowed. This should probably result in the service refusing to start,
however currently the service will start and operations touching this
value will return:
500 Internal Server Error
Malformed property protection rule 'some_property': '@' and '!' are mutually exclusive (HTTP 500)
to the end user. My feeling is that the end user should not receive
any information about the cause of the error, just the 500 status.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1260333/+subscriptions
Follow ups
References