mirror of
https://github.com/Telecominfraproject/wlan-cloud-userportal.git
synced 2025-10-31 18:48:02 +00:00
Framework update
This commit is contained in:
@@ -18,7 +18,7 @@ namespace OpenWifi {
|
||||
TransactionId,
|
||||
Internal,true, false, RateLimit{.Interval=1000,.MaxCalls=10}, true){}
|
||||
|
||||
static const std::list<const char *> PathName() { return std::list<const char *>{"/api/v1/wiredclients"}; };
|
||||
static auto PathName() { return std::list<std::string>{"/api/v1/wiredclients"}; };
|
||||
|
||||
inline bool RoleIsAuthorized(std::string & Reason) {
|
||||
if(UserInfo_.userinfo.userRole != SecurityObjects::USER_ROLE::SUBSCRIBER) {
|
||||
|
||||
Reference in New Issue
Block a user