I want to create a new server script, and i want to create new user permissions in it .
but when i code like this :
frappe.permissions.add_user_permission("Blog Category", "_Test Blog Category 1",
"test2@example.com")
I get an error and it says the permissions object does not exist.
can any one help with this, please?