Command execution restriction based on privilege

Restrict IPMI command execution based on privilege of
the user session.

Unit test:
1. Verified the command execution as per the privilege
2. Executing higher privilege IPMI command fails

Change-Id: I5901f2b18f4f7ecb6311882de558f75b61836109
Signed-off-by: Richard Marian Thomaiyar <richard.marian.thomaiyar@linux.intel.com>
1 file changed