Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add node, menu, roles and permissions commands #321

Open
nico8948 opened this issue Aug 29, 2023 · 1 comment · May be fixed by #322
Open

Add node, menu, roles and permissions commands #321

nico8948 opened this issue Aug 29, 2023 · 1 comment · May be fixed by #322

Comments

@nico8948
Copy link
Contributor

Hi All,

In my fork (https://github.com/nico8948/bee) i've added the files node.bee.inc and role.bee.inc:

NODE
menu-delete Delete a menu link.
md

menu-update Update or create a menu link.
mu

menus List all menus.
menu-list

node-delete Delete a node.
ndel

node-update Add or update a node.
nu

nodes List all nodes.
nls, node-list

                          ROLES                                                                                                                     

permissions List all permissons of the modules.
pls, permissions-list

role-add-perm Grant specified permission(s) to a role.
rap

role-create Add a role.
rcrt

role-delete Delete a role.
rdel

role-remove-perm Remove specified permission(s) from a role.
rrp

roles List all roles with the permissions.
rls, roles-list

@yorkshire-pudding
Copy link
Collaborator

@nico8948 - thank you for this. I don't have time to look in detail at these at the moment, but my first instinct is:

  • node and menu commands - these are not really suitable for bee. I can't see there being wide usage (it is not in drush 8), it would be very difficult to support when people have issues and there are all sort of other modules that interact with nodes and menus that could cause problems. You can easily stick this in your own custom .bee folder - see https://github.com/backdrop-contrib/bee/wiki/Extending-Bee
  • roles and permission - I would like to look at this further as I believe it has potential and could be useful in bee.

I won't be able to get to looking at it for a few weeks, but in the meantime you could look at a pull request for just that element and consider tests too.

@yorkshire-pudding yorkshire-pudding changed the title Added node, menu, roles en permissions commands Add node, menu, roles and permissions commands Aug 29, 2023
@yorkshire-pudding yorkshire-pudding linked a pull request Nov 18, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants