Prevent download of files from Notes in CRM 2016 - dynamics-crm-2016

Is it possible to prevent the download of a file in the Notes section of some forms, depending on the user's role?

This is definitely possible. To implement that you can use Plugins or Real-Time workflows. Following article describes how to check if user has role or not - https://msdn.microsoft.com/en-us/library/jj602961.aspx

Related

Edit/Create access in Dynamics CRM for non licensed users

We have a scenario where we do not have enough licenses to provide to the users for Dynamics CRM Online. But we need these users to be able to edit/create rows in Appointments and Task tables. We have a license with Admin access. Can this license be shared or used in such a way that users can edit these tables through any other interface say using Power Apps or so? Is there any way to enable them to edit the tables?
What you can do is, get the per-user-per-app license for users so they can use Canvas app and get authenticated using AD SSO.
You can use the Admin service account to do data interactions into Dynamics CRM using MS Flow/Power Automate. Essentially CDS connector will use the licensed CRM admin account in the backend. Honestly I never tried this.
Another user also used HTTP request to use LogicApps to POST the data without license. Reference
PowerApps portals is another option.

Is it possible to design a setup step to be triggered when installing a Microsoft Teams App?

I'm designing the architecture for a Microsoft Teams app.
This app is an integration to a multitenancy platform that the customer can set up their own URL to access the system, i.e: https://app.customer.com/
I was wondering if there is a standard way to have a step on the app installation to set up the instance URL.
I understand I could design an app generator that would reside inside each customer instance and then deliver the manifest.zip to the customer to install it, but I feel we would lose all marketing and partnership opportunities that having it on the store would provide.
I couldn't find a standard way so I designed a proposed solution and wanted to validate it with the community.
I came with a list of issues and workarounds to work with a single app for the multiple instances based on what we've seen so far on Microsoft Teams documentation.
Issue 1: Accessible domains should be explicitly set on the manifest.json
Workaround: have a middleware in a fixed URL that handles all requests made by the app and route to the customer site
Issue 2: There is no standard step on an app installation to set up the instance URL
Workaround: Design a static tab that would handle the configuration, so in that tab, the admin would need to set up any
configuration like instance URL
Issue 3: After installation, the feature will be available for the users even before admin did the setup to define the customer instance URL to be used.
Workaround: Make all designed interactions (i.e.: Tabs configuration page, bot response, actions, cards, etc... ) have a
response to the user saying there are pending configurations in case
the admin did not set the URL yet

User information retrieval based download in Joomla

i am hosting a site in Joomla and we want to allow document downloads. however, we want the downloads only after user submits at least their email.
i searched and found that it could be possible to do this by means of user registration but is there a simpler way by means of a plugin that allows simple user email submission followed by download over full registration.
You can try DocMan, which is a Joomla document management extension. The only issue is that this is a commercial, and it costs $99 for one website. But it is a solid extension.
Don't waste your time writing code to do what you want to do when an extension may do.

How do I copy data from web page and paste it in file for further use with ruby, watir and cucumber?

The first scenario is run as part of the feature file registration.feature (feature1) and has the following content:
Scenario: User can register as a Free account
Given I am on the home page
When I navigate to the Register page
And set all required fields for "Free" on the page
And check that info about successful registration is shown
And activate account
Then I copy the Free user information in a data file
Then I would like to run the following feature under the upgrade_accounts.feature(feature2)
Feature: Upgrade accounts
As an QA Engineer
I would like to upgrade my accounts to other types
So I can make sure upgrade functionality is working properly
Scenario: Existing free account is upgraded to premium
Given I navigate to the login page
When Sign in as free account retrieved from file
And I navigate to updgrade accounts
And I select premium account and submit
Then Verify premium package is active
My concerns are about how I implement the connection between these two features using something that applies to step: Then I copy the Free user information in a data file from feature1 and When Sign in as free account retrieved from file on feature2.
So I guess the question is: What approach(gem) would be best to use in order to copy data from web page into a file and the read it and use it again?
Thank you!
In general, creating dependencies between features files is discouraged. You want to be able to run features independently with deterministic results, so coupling features through state will likely produce brittle (and breakable) features. For example, it would be impossible to successfully execute upgrade_accounts.feature without executing registration.feature.
If you haven't picked up The Cucumber Book, it's good guide and resource. It recommends setting up application state through before hooks in /support/hooks.rb
Like Orde says, each scenario is unique & independent:
Scenario: User can register as a Free account
Given I am on the home page
When I register for a free account
Then I get a message that registration is successful
And my account is active
Scenario: Existing free account is upgraded to premium
Given I have a free account
When I updgrade my account to a premium account
Then my premium package is active
Two features, two completely separate tests. If you have one single step that injects a free account into the system Given I have a free account, you will not end up with have a failure in upgrading because the step to register the free account failed.
Also, I took the liberty to cut down on the steps to create and verify the account. All the navigation and such are not necessary in the scenario. That is done in the step definition.

joomla login system

i want to know more how does joomla does the authentication. Where should i look for the codes? thanks..
Joomla uses a plugin architecture for authentication. It fires each plugin in order until one of them returns true. If all published authentication plugins return false, the authentication fails. A tutorial on creating authentication plugins for Joomla is available.
After downloading the sources at joomla.org, you can find the username-password-authentication functionality in the following files:
/plugins/authentification/joomla.php - Backend and Frontend authentication
/libraries/joomla/user/helper.php - Password generation / encryption
Authorization (Giving an authenticated user the rights he possesses) is implemented in:
/libraries/joomla/user/authorization.php - JAuthorization() sets rights for different user levels (Registered, Author, Manager, Administrator ...)
/libraries//phpgacl/gacl.php - PEAR ACL (mapping rights to database)
/libraries//phpgacl/gacl_api.php - PEAR ACL (mapping rights to database)
(Be aware that the online version of these Joomla! files is 1.5.10, so not the newest one.)
The Joomla Project is open source. As such the code is freely available for you to download and investigate. If you have any questions about it specifically, there are forums and mailing lists you can subscribe to and participate in. I'm sure the Joomla community would be better equipped to answer your question than SO.

Resources