Change permission strings so Immortals->Developer, Wizards->Admin, Builders->Builder, PlayerHelper->Helper, Players->Player, Guests->Guest. Made perm() and pperm() lock function accept both the plural and singular form (so both Admin and Admins work). Still lacking a data migration for updating an existing database to the new setup.
This commit is contained in:
parent
edc092bfc4
commit
0bd47f0c52
23 changed files with 119 additions and 118 deletions
|
|
@ -1256,7 +1256,7 @@ class ContribRPObject(DefaultObject):
|
|||
candidates.append(self)
|
||||
|
||||
# the sdesc-related substitution
|
||||
is_builder = self.locks.check_lockstring(self, "perm(Builders)")
|
||||
is_builder = self.locks.check_lockstring(self, "perm(Builder)")
|
||||
use_dbref = is_builder if use_dbref is None else use_dbref
|
||||
search_obj = lambda string: ObjectDB.objects.object_search(string,
|
||||
attribute_name=attribute_name,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue