• hcolumbie

    (@hcolumbie)


    hi all.
    I am programming a plugin for WP and I need to integrate new roles and new permissions to the wp user, ie I need to add new roles and permissions for users to manipulate wp cms plugin to be installed this. please someone can give me some reference of how to do it.

    thank you very much!

Viewing 3 replies - 1 through 3 (of 3 total)
  • alfieb

    (@alfieb)

    I am also trying to do same with roles for users. I have converged on the plug in role manger as a good source of information- it sound like it can solve the problems. However fair warning I tried to download it and placed it in my plugin directory. Howver when i go into my Admin Panel to activate it is not there. I’m still persuing this problem if I resolve problem I’ll return and let you know.

    Alfie

    Thread Starter hcolumbie

    (@hcolumbie)

    That’s nice to know that someone answers me and I’m not the only one with this little problem, I’ll explain better what happens:

    I am making a plugin that is a planner of projects, objectives and tasks, is my thesis in computer engineering, which is why the urgency. They need to specify which of the many users of wordpress blog will want to be part of this plugin, it is necessary to determine who is the leader of a project for example, who will evaluate it, and who is in charge of doing, as be noticed are roles, ie only for plugin functions.
    I study the user documentaciuon about and what I understand is that you can not add new functions (roles) or capabilities that is as it is called (for my actions).

    For now I have decided to add to the pag of adding users and edit user a checkbox that allows you to specify whether that user is part of the list of users of the plugin that I do, then I’ll see especidficarle another user table in my plugin particular their role which will be taking your id and inserted into the table.

    Please if you can help me with other suggestions, or if you used mine, let me know.

    Aqui estare esperando.
    Heylin

    p: d: My language is espannol and use the google translator to publish in English, sorry if not well understood.

    ************* En espanol!!!!********************************

    Que gusto saber que me responde alguien y que no soy la unica con este problemita, te explico mejor lo que sucede,:

    Estoy realizando un plugin que consiste en un planificador de projectos, objetivos y tareas, es mi tesis de grado de la ingenieria informatica, es por eso la urgencia. Para ellos necesito tener especificado cuales de los tantos usuarios del blog wordpress querran formar parte de este plugin, porque es necesario determinar quien es el jefe de un proyecto por ejemplo , quien sera el que lo evaluara, y quien esta a cargo de realizarlo, como se notara son roles, es decir funciones solo para el plugin.
    Me estudie la documentaciuon al respecto de usuarios y lo que pude comprender es que no se puede agregar nuevas funciones(roles) ni capacidades que es como se le llama(para mi lista de acciones).

    Por lo pronto he decidido agregar a la pag de adicionar usuario y editar usuario un checkbox que le permita especificar si ese usuario formara parte de la lista de usuarios del plugin que realizo, luego me encargarer de especidficarle en otra tabla de user de mi plugin en particular cual sera su rol tomando su id e insertandolo en la tabla.

    Por favor si me puede ayudar con otra sugerencia , o si le sirve la mia, hagamelo saber.

    Aqui estare esperando.
    Heylin

    p:d: Mi idioma es el espannol y uso el traductor de google para publicar en ingles, disculpe si no se entiende muy bien.

    After i installed the Role Manager plugin and activated it I noted that a sub-panel was available in the admin panel under settings. There I was able to set roles for each user.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add new roles and permissions to cms’ is closed to new replies.