~ubuntu-branches/ubuntu/precise/ejabberd/precise-proposed

« back to all changes in this revision

Viewing changes to src/mod_configure.erl

  • Committer: Bazaar Package Importer
  • Author(s): Konstantin Khomoutov, Konstantin Khomoutov
  • Date: 2010-07-26 20:36:14 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20100726203614-s3asj0k5ym3bxhdw
Tags: 2.1.4-1
[ Konstantin Khomoutov ]
* Do not prevent ejabberd_debug from being installed and used
  as this was implemented upstream as the default behavior.
* Add build dependency on erlang-parsetools.
* Add 'sharedscripts' option to logrotate config.
* Update VCS references in control file to point to git.deb.at.
* Add group sticky bit to permissions on the log directory --
  this should make log files owned by the group "adm".
* Explicitly set umask to 027 before starting erl.
* Add patch with fix for EJAB-953 (closes: #590389).
* Fix call to setup_ejabberd in postinst.
* Fix owner/permissions for log files when upgrading.
* Minor fixes and clarifications in ejabberdctl.8 manual page.
* Refresh reopen-log.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
238
238
                ["config", _] ->
239
239
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
240
 
                ["http:" | _] ->
 
240
                ?NS_ADMINL("add-user") ->
 
241
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
 
242
                ?NS_ADMINL("delete-user") ->
 
243
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
 
244
                ?NS_ADMINL("end-user-session") ->
 
245
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
 
246
                ?NS_ADMINL("get-user-password") ->
 
247
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
 
248
                ?NS_ADMINL("change-user-password") ->
 
249
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
 
250
                ?NS_ADMINL("get-user-lastlogin") ->
 
251
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
 
252
                ?NS_ADMINL("user-stats") ->
 
253
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
 
254
                ?NS_ADMINL("get-registered-users-num") ->
 
255
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
 
256
                ?NS_ADMINL("get-online-users-num") ->
241
257
                    ?INFO_RESULT(Allow, [?NS_COMMANDS]);
242
258
                _ ->
243
259
                    Acc
449
465
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
450
466
                ["config", _] ->
451
467
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
452
 
                ?NS_ADMINL(_) ->
 
468
                ?NS_ADMINL("add-user") ->
 
469
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
 
470
                ?NS_ADMINL("delete-user") ->
 
471
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
 
472
                ?NS_ADMINL("end-user-session") ->
 
473
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
 
474
                ?NS_ADMINL("get-user-password") ->
 
475
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
 
476
                ?NS_ADMINL("change-user-password") ->
 
477
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
 
478
                ?NS_ADMINL("get-user-lastlogin") ->
 
479
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
 
480
                ?NS_ADMINL("user-stats") ->
 
481
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
 
482
                ?NS_ADMINL("get-registered-users-num") ->
 
483
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
 
484
                ?NS_ADMINL("get-online-users-num") ->
453
485
                    ?ITEMS_RESULT(Allow, LNode, {error, ?ERR_FORBIDDEN});
454
486
                _ ->
455
487
                    Acc