Admin Section for Permissions Management

3 views
Skip to first unread message

Dmitry A.

unread,
Oct 22, 2010, 1:37:53 AM10/22/10
to In-Portal Development Team
Hi All,

I think we are missing such thing as a Section where we can manage
(add / edit / delete) the system permissions which are later are used
to check if User can do the action.

It should be simple list/grid of all Permissions probably under
Configuration->Website->Advanced section.

What do you think and if any specific or complications here? By the
way, I think we should have all Prefixes in place for this already?

DA.

Alexander Obuhovich

unread,
Oct 22, 2010, 2:24:14 AM10/22/10
to in-por...@googlegroups.com
I think we are missing such thing as a Section where we can manage (add / edit / delete) the system permissions which are later are used to check if User can do the action.

Are you talking about "User Management -> Groups -> [Edit Group] -> [Permissions tab]" section, that we are missing?


Dmitry A.

unread,
Oct 22, 2010, 11:45:26 AM10/22/10
to In-Portal Development Team
No, I am talking about the ability to DEFINE and MANAGE actual
permission Names which will be used down on the road by our current
Permissions System.

It will live under Configuration->Website->Advanced->Permissions
section (or better name).


DA

On Oct 22, 1:24 am, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> *I think we are missing such thing as a Section where we can manage (add /
> edit / delete) the system permissions which are later are used to check if
> User can do the action.*

Alexander Obuhovich

unread,
Oct 22, 2010, 2:13:40 PM10/22/10
to in-por...@googlegroups.com
Maybe you are talking about category-based permission, since we got:
  • section permissions (for admin tree sections)
  • category permissions (for items inside categories)

We can't create create a section for managing section permissions, since each unit has it's own sections with their own permissions.

Dmitry A.

unread,
Oct 22, 2010, 2:24:08 PM10/22/10
to In-Portal Development Team
No, you missed again.

As far as I know we can manage all out actual permission settings just
fine.

What we can NOT do via Admin is add/edit/delete a new Permission type.
I believe we've talked about this before. This topic was kind of
related to Phil's started discussion about the permissions.

http://groups.google.com/group/in-portal-dev/browse_thread/thread/9fb2c6158ab20520/dd5451f669a6803d

I guess, I would call it Configuration->Website->Advanced->Permission
Types . It mostly will be used by Developers only - now we do it by
hand and it's a pain...


DA.


On Oct 22, 1:13 pm, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> Maybe you are talking about category-based permission, since we got:
>
>    - section permissions (for admin tree sections)
>    - category permissions (for items inside categories)

Alexander Obuhovich

unread,
Oct 22, 2010, 2:33:33 PM10/22/10
to in-por...@googlegroups.com
In that discussion was c_HasPermission tag, and "c" is category, and it is used category-based permissions.

No need to add new admin-section based permissions, like "in-portal.users_list.advanced:my_custom_permission", but adding permission "CATEGORY.CUSTOM_PERMISSION_NAME".

Dmitry A.

unread,
Oct 22, 2010, 2:41:05 PM10/22/10
to In-Portal Development Team
Bingo!

How you can manage Permission Types like
CATEGORY.CUSTOM_PERMISSION_NAME now?

Section to be able to manage all this.

Do you understand my point? Do you agree?

DA.

On Oct 22, 1:33 pm, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> In that discussion was c_HasPermission tag, and "c" is category, and it is
> used category-based permissions.
>
> No need to add new admin-section based permissions, like
> "in-portal.users_list.advanced:my_custom_permission", but adding permission
> "CATEGORY.CUSTOM_PERMISSION_NAME".
>
>
>
>
>
> On Fri, Oct 22, 2010 at 9:24 PM, Dmitry A. <dandre...@gmail.com> wrote:
> > No, you missed again.
>
> > As far as I know we can manage all out actual permission settings just
> > fine.
>
> > What we can NOT do via Admin is add/edit/delete a new Permission type.
> > I believe we've talked about this before. This topic was kind of
> > related to Phil's started discussion about the permissions.
>
> >http://groups.google.com/group/in-portal-dev/browse_thread/thread/9fb...

Alexander Obuhovich

unread,
Oct 22, 2010, 2:43:14 PM10/22/10
to in-por...@googlegroups.com
Pretty simple section, since we already got table PermissionsConfig. We just need to create unit and templates to allow data entry in that table.

Also we need to add "System" column there to prevent any permissions, that we already have now from being deleted.

Dmitry A.

unread,
Oct 22, 2010, 2:48:37 PM10/22/10
to In-Portal Development Team
Agreed on new Column!

What about Section name?

Configuration->Website->Advanced: Permission Types ?

DA.

Alexander Obuhovich

unread,
Oct 22, 2010, 3:08:47 PM10/22/10
to in-por...@googlegroups.com
Configuration->Website->Advanced - is a section already with configuration variables in it. Would you add new 4th sub-level in it. Maybe Configuration->Website->Permission Types would be enough?

Dmitry Andrejev

unread,
Oct 22, 2010, 3:11:18 PM10/22/10
to in-por...@googlegroups.com
Yes, please!

Actually, I meant to put - "Configuration->Website->Permission Types", but blanked out for some reason and put Advanced there too :)


DA.
--


Best regards,

Dmitry A.

Phil -- wbtc.fr --

unread,
Oct 22, 2010, 4:35:00 PM10/22/10
to in-por...@googlegroups.com
sounds really good... and it could be used as a trick to overcome the unability to check user's group ;-)

2010/10/22 Dmitry Andrejev <dand...@gmail.com>

Dmitry A.

unread,
Oct 22, 2010, 7:00:13 PM10/22/10
to In-Portal Development Team
New task for this feature request has been created:


898: Admin Interface for managing "Permission Types"

http://tracker.in-portal.org/view.php?id=898

DA

On Oct 22, 3:35 pm, "Phil -- wbtc.fr --" <p...@wbtc.fr> wrote:
> sounds really good... and it could be used as a trick to overcome the
> unability to check user's group ;-)
>
> 2010/10/22 Dmitry Andrejev <dandre...@gmail.com>
>
>
>
> > Yes, please!
>
> > Actually, I meant to put - "Configuration->Website->Permission Types", but
> > blanked out for some reason and put Advanced there too :)
>
> > DA.
>
> > On Fri, Oct 22, 2010 at 2:08 PM, Alexander Obuhovich <aik.b...@gmail.com>wrote:
>
> >> Configuration->Website->Advanced - is a section already with configuration
> >> variables in it. Would you add new 4th sub-level in it. Maybe Configuration->Website->Permission
> >> Types would be enough?
>

Dmitry A.

unread,
Sep 24, 2011, 11:32:53 PM9/24/11
to in-por...@googlegroups.com
Hi Alex,

I think we should consider this task for 5.2.0 - I think it's quite easy to do and will be a big help for developers.

What's your opinion on this?

DA


Alexander Obuhovich

unread,
Sep 25, 2011, 11:14:24 AM9/25/11
to in-por...@googlegroups.com
Yes. This surely would give simple user an advantage, since he now can manually create new category permissions and check/set them where needed.

Dmitry Andrejev

unread,
Sep 25, 2011, 12:23:57 PM9/25/11
to in-por...@googlegroups.com
Task scheduled for 5.2.0

DA
Reply all
Reply to author
Forward
0 new messages