aboutsummaryrefslogtreecommitdiffstats
path: root/util/pubsub.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/pubsub.lua')
-rw-r--r--util/pubsub.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/pubsub.lua b/util/pubsub.lua
index f1d1df38..5160b0ce 100644
--- a/util/pubsub.lua
+++ b/util/pubsub.lua
@@ -117,9 +117,9 @@ function service:get_default_affiliation(node, actor, action) -- luacheck: ignor
or self.config.node_defaults.access_model;
if access_model == "open" then
- return "subscriber";
- elseif access_model == "whitelist" then
return "none";
+ elseif access_model == "whitelist" then
+ return "restricted";
end
if self.config.access_models then