diff options
| author | Cory Wright <cory.wright@rackspace.com> | 2011-04-22 09:34:15 -0400 |
|---|---|---|
| committer | Cory Wright <cory.wright@rackspace.com> | 2011-04-22 09:34:15 -0400 |
| commit | 3605aafe25e93f2d913b33a00da509fcd6e1f0df (patch) | |
| tree | 3e211e29088d57eaba73ab1bde0c63b1c84e331c /nova/context.py | |
| parent | bbcc2304167c3331f4c54898200f01fd66c0a20c (diff) | |
| parent | f72bc1d675e3034882bf901c2fee0491d60ce638 (diff) | |
merge trunk
Diffstat (limited to 'nova/context.py')
| -rw-r--r-- | nova/context.py | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/nova/context.py b/nova/context.py index 0256bf448..c113f7ea7 100644 --- a/nova/context.py +++ b/nova/context.py @@ -16,9 +16,7 @@ # License for the specific language governing permissions and limitations # under the License. -""" -RequestContext: context for requests that persist through all of nova. -""" +"""RequestContext: context for requests that persist through all of nova.""" import datetime import random @@ -28,6 +26,12 @@ from nova import utils class RequestContext(object): + """Security context and request information. + + Represents the user taking a given action within the system. + + """ + def __init__(self, user, project, is_admin=None, read_deleted=False, remote_address=None, timestamp=None, request_id=None): if hasattr(user, 'id'): |
