|
@@ -55,8 +55,8 @@ import {Time} from "../../utils/types/Time.sol";
|
|
|
* will be {AccessManager} itself.
|
|
|
*
|
|
|
* WARNING: When granting permissions over an {Ownable} or {AccessControl} contract to an {AccessManager}, be very
|
|
|
- * mindful of the danger associated with functions such as {{Ownable-renounceOwnership}} or
|
|
|
- * {{AccessControl-renounceRole}}.
|
|
|
+ * mindful of the danger associated with functions such as {Ownable-renounceOwnership} or
|
|
|
+ * {AccessControl-renounceRole}.
|
|
|
*/
|
|
|
contract AccessManager is Context, Multicall, IAccessManager {
|
|
|
using Time for *;
|
|
@@ -109,8 +109,8 @@ contract AccessManager is Context, Multicall, IAccessManager {
|
|
|
bytes32 private _executionId;
|
|
|
|
|
|
/**
|
|
|
- * @dev Check that the caller is authorized to perform the operation, following the restrictions encoded in
|
|
|
- * {_getAdminRestrictions}.
|
|
|
+ * @dev Check that the caller is authorized to perform the operation.
|
|
|
+ * See {AccessManager} description for a detailed breakdown of the authorization logic.
|
|
|
*/
|
|
|
modifier onlyAuthorized() {
|
|
|
_checkAuthorized();
|
|
@@ -470,7 +470,8 @@ contract AccessManager is Context, Multicall, IAccessManager {
|
|
|
|
|
|
/**
|
|
|
* @dev Reverts if the operation is currently scheduled and has not expired.
|
|
|
- * (Note: This function was introduced due to stack too deep errors in schedule.)
|
|
|
+ *
|
|
|
+ * NOTE: This function was introduced due to stack too deep errors in schedule.
|
|
|
*/
|
|
|
function _checkNotScheduled(bytes32 operationId) private view {
|
|
|
uint48 prevTimepoint = _schedules[operationId].timepoint;
|