Page Menu
Home
Sealhub
Search
Configure Global Search
Log In
Files
F9583415
super.js
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
402 B
Referenced Files
None
Subscribers
None
super.js
View Options
"use strict"
;
const
locreq
=
require
(
"locreq"
)(
__dirname
);
const
Promise
=
require
(
"bluebird"
);
const
Super
=
{
name
:
"super"
,
checker_function
:
function
(
context
){
if
(
context
.
is_super
){
return
Promise
.
resolve
();
}
else
{
return
Promise
.
reject
(
"This action cannot be performed by a regular user, but only by the server itself."
);
}
},
item_sensitive
:
true
,
};
module
.
exports
=
Super
;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Oct 11, 09:37 (4 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
983503
Default Alt Text
super.js (402 B)
Attached To
Mode
rS Sealious
Attached
Detach File
Event Timeline
Log In to Comment