django-moo

Introduction

  • Introduction

Tutorials

  • Getting Started as a Player
  • Building Your First Room
  • Your First MOO Verb
  • Writing Tests for Your Verbs
  • Building a Persistent World from Scratch

How-to Guides

  • Creating MOO Verbs
  • Advanced Verb Patterns
  • How Permissions Work in Verbs
  • Bootstrap Recipes
  • Run Multiple Universes on One Server
  • NPCs and Daemons
  • Development
  • Connection Control Verbs
  • Accessibility and MUD Client Compatibility
  • SSH Key Management

Reference

  • The DjangoMOO Runtime
  • Objects in the DjangoMOO Database
  • Properties on Objects
  • Verbs on Objects
  • Command Parser Reference
  • Permissions Reference
  • Verb Sandbox Security Reference
  • Caching
  • Celery Tasks
  • SDK Functions
  • Bootstrapping Reference

Explanation

  • Architecture
  • How Command Parsing Works
  • Why the Verb Sandbox Exists
  • Inside the Shell Client

API Reference

  • API
    • moo
      • moo.get_version
      • moo.asgi
      • moo.bootstrap
      • moo.celery
      • moo.celeryconfig
      • moo.conftest
      • moo.core
        • moo.core.admin
        • moo.core.apps
        • moo.core.code
        • moo.core.exceptions
        • moo.core.forms
        • moo.core.management
        • moo.core.managers
        • moo.core.migrations
        • moo.core.models
        • moo.core.moojson
        • moo.core.parse
        • moo.core.tasks
        • moo.core.tests
        • moo.core.utils
      • moo.logging
      • moo.sdk
      • moo.settings
      • moo.shell
      • moo.storage
      • moo.urls
      • moo.wsgi
    • moo.bootstrap
    • moo.core
      • moo.core.admin
      • moo.core.apps
      • moo.core.code
      • moo.core.exceptions
      • moo.core.forms
      • moo.core.management
      • moo.core.managers
      • moo.core.migrations
      • moo.core.models
      • moo.core.moojson
      • moo.core.parse
      • moo.core.tasks
      • moo.core.tests
        • moo.core.tests.test_bootstrap_sync
        • moo.core.tests.test_code
        • moo.core.tests.test_directions
        • moo.core.tests.test_exceptions
        • moo.core.tests.test_model_acl
        • moo.core.tests.test_model_auth
        • moo.core.tests.test_model_object
        • moo.core.tests.test_model_property
        • moo.core.tests.test_model_verb
        • moo.core.tests.test_moojson
        • moo.core.tests.test_multi_universe
        • moo.core.tests.test_object_lifecycle
        • moo.core.tests.test_parser
        • moo.core.tests.test_security_builtins
        • moo.core.tests.test_security_context
        • moo.core.tests.test_security_imports
        • moo.core.tests.test_security_model_acl
        • moo.core.tests.test_security_model_mail
        • moo.core.tests.test_security_model_object
        • moo.core.tests.test_security_model_property
        • moo.core.tests.test_security_model_verb
        • moo.core.tests.test_security_queryset
        • moo.core.tests.test_security_random
        • moo.core.tests.test_security_sandbox
        • moo.core.tests.test_tasks
        • moo.core.tests.utils
      • moo.core.utils
    • moo.shell
django-moo
  • API
  • moo
  • moo.core
  • moo.core.tests
  • moo.core.tests.test_model_acl
  • View page source

moo.core.tests.test_model_acl

Tests for moo/core/models/acl.py — Permission, Access, AccessibleMixin.

Functions

test_access_str(t_init, t_wizard)

test_add_a_simple_deny_clase(t_init, t_wizard)

test_allow_group_creates_access_row(t_init, ...)

test_can_caller_no_caller_is_noop(t_init, ...)

test_cant_change_location_unless_allowed_to_move(...)

test_cant_change_owner_unless_allowed_to_entrust(...)

test_cant_create_child_of_an_object_that_isnt_yours(...)

test_cant_create_parent_of_an_object_that_isnt_yours(...)

test_change_location_calls_accept(t_init, ...)

test_change_location_calls_enterfunc(t_init, ...)

test_change_location_calls_exitfunc(t_init, ...)

test_change_location_checks_recursion(...)

test_deny_evicts_cached_true(t_init, t_wizard)

test_deny_group_creates_access_row(t_init, ...)

test_deny_overrides_allow(t_init, t_wizard)

test_everyone_can_read_a_thing(t_init, t_wizard)

test_get_permission_id_returns_pk(t_init, ...)

test_is_allowed_fatal_raises(t_init, t_wizard)

test_is_allowed_group_everyone(t_init, t_wizard)

test_is_allowed_group_owners(t_init, t_wizard)

test_is_allowed_group_wizards(t_init, t_wizard)

test_is_allowed_specific_accessor(t_init, ...)

test_perm_cache_avoids_repeated_queries(...)

test_perm_cache_invalidated_by_deny(t_init, ...)

test_permission_str(t_init, t_wizard)

test_regular_user_can_read_a_thing(t_init, ...)

test_regular_user_who_owns_a_thing(t_init, ...)

test_wizard_can_do_most_things(t_init, t_wizard)

Previous Next

© Copyright 2024, Phil Christensen.

Built with Sphinx using a theme provided by Read the Docs.