SecurityContext(DBServicePtr dbsrv)
Hardware::DeviceId device_id
Audit::IAuditEntryPtr audit
An optional audit object that would act as parent for the audit trail.
Auth::AccessPointId ap_id
Edit the SMTP configuration.
Tools::ScheduleId schedule_id
Cred::CredentialId credential_id
A security context for system operation.
Read the audit log and access additional information, such as the JSON "before" and "after" field...
virtual ~SecurityContext()=default
AccessPointActionParam access_point
virtual bool check_permission(Action a, const ActionParam &ap) const
Check for the permission to perform action a with parameters ap.
A workaround permission that requires the user to be administrator.
HardwareDeviceActionParam device
Permissions for hardware devices.
A SecurityContext is used to query permission while doing an operation.
Requires that the user be at least manager.
MembershipActionParam membership
CredentialActionParam cred
SecurityContext & sec
The SecurityContext of the caller.
Perform to restart the Leosac server.
Can we enable/disable the user or change its validity period ?
Ability to list member of a group.
Auth::UserGroupMembershipId membership_id
void enforce_permission(Action a, const ActionParam &ap) const
Similar to check_permission(), but throws is the permission is denied.
Overview of users/doors access permission.
Retrieve SMTP configuration.
An ExecutionContext is passed around to service so they have context about who is making the call and...
Editing rank means being able to become administrator.
virtual bool check_permission_impl(Action a, const ActionParam &ap) const =0
Reimplement this method to provide permission checking.
ScheduleActionParam sched