commit | 8a043fb78da9c00dd0451790c9a82f931bb61ba2 | [log] [tgz] |
---|---|---|
author | Felipe Monteiro <felipe.monteiro@att.com> | Sun Aug 06 06:29:05 2017 +0100 |
committer | Felipe Monteiro <felipe.monteiro@att.com> | Sat Aug 05 06:16:26 2017 +0000 |
tree | 5a8535f42135a25fce0f6dca2d29444d2b101cd2 | |
parent | 7b9ae3fbc847f8b4cb8fa1dfb294423f6c97fa7c [diff] |
Change rbac_utils.RbacUtils is_admin to function This is a trivial change that changes is_admin to a function (instead of a property) because properties can only be used in the instance context whereas non-class functions can be used in both instance and class contexts. This allows ``test_tokens_negative_rbac`` to use is_admin() now since it is used in a class context. Change-Id: I9244f10cd536050986185651421a446fef8e2ade