question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`App` module added by `Content Managers` role doesn't allow `Choose App`

See original GitHub issue

I’m submitting a … [x] bug report

…about [x] edit experience / UI [x] admin experience UI [x] app permissions [x] other / unknown

Current behavior We are experiencing this issue on a net new site.

Here is our scenario:

  • DNN 9.10.2
  • 2sxc 12.8.1
  • Have a role called “Content Managers” and they have “Edit” rights on pages.
  • Have applied “Can Deploy” to “Content Managers” for “App” extension.

A user belonging to Content Managers is able to add an “App” module to a page. However, they do not have the ability to Choose App in 2sxc.

In 2sxc, I have tried enabling the Feature for Permission by Group / Role. Then for the relevant app, I updated App Permissions to add a Security Rule for the appropriate RoleId (the one that matches the Content Managers role) and gave it Edit (Create, Read, Update, Delete) rights. It still didn’t work, so I even tried giving it Full Control (usually host only). That didn’t work either.

Any other ideas? What the heck am I missing?

I found this SO post helpful, but unfortunately, it just doesn’t work for me. ☹️ https://stackoverflow.com/questions/58293074/best-way-to-implement-basic-content-manager-permissions

Expected behavior The experience for Content Managers should be the same as it is for App modules that were previously added by Admin or Super User. They should have the ability to Choose App and select the appropriate layout/view, and subsequently manage the content. Those seem to work just fine for Content Managers, but they also need to be able to successfully add new App modules to the page and work with them.

Instructions to Reproduce the Problem Follow the setup in the Current behavior section:

  • Create Content Managers role
  • Assign Edit rights at the DNN page level.
  • Within DNN Extensions, mark the App module with Can Deploy rights for Content Managers.
  • Add Permission by Group / Role in 2sxc.
  • Add app permissions security rule for Content Managers RoleId with Edit (Create, Read, Update, Delete).
  • Login as user belonging to Content Managers role.
  • Add App module to page for which the user has page Edit rights.
  • See issue with not being able to Choose App.

Why change the behavior? It currently seems to be a bug.

Your environment See below.

  • 2sxc version(s): 12.8.0/12.8.1 (tested on both)
  • Browser: [all]
  • DNN: [9.10.2]
  • Language: [any/all]

Anything you would like to add

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:30 (12 by maintainers)

github_iconTop GitHub Comments

4reactions
david-poindextercommented, Feb 19, 2022

image

2reactions
iJungleboycommented, Feb 20, 2022

@david-poindexter Thanks for being my first sponsor!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure how users consent to applications - Azure
Select Azure Active Directory > Enterprise applications > Consent and permissions > User consent settings. Under User consent for applications, ...
Read more >
Common modularization patterns
This page gives an overview of some general rules and common patterns that you can employ when developing multi module Android apps. Note:...
Read more >
Android Studio not showing modules in project structure
Go to File->Project Structure-> Project Settings -> Modules. Click on the green colored + and add new module. select Application module and set ......
Read more >
Adding package dependencies to your app
To add a package dependency to your Xcode project, select File > Add Package Dependency and enter its repository URL. You can also...
Read more >
Application Navigator category
Verifies the visibility, or lack thereof, of selected application menus in the application navigator (left navigation bar). For example, you create a test ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found